Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 106.7 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 194.9 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 69.14 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003022/0.3278, allocations: 1.729 MB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.3286, allocations: 402.7 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.3287, allocations: 4 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.3288, allocations: 7.922 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.153e-05/0.3288, allocations: 11.86 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.3293, allocations: 119.7 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3294, allocations: 103.6 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3296, allocations: 35.97 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.3297, allocations: 39.89 kB / 1.067 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.3297, allocations: 43.78 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3298, allocations: 8 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.3299, allocations: 63.95 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.3299, allocations: 19.92 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.33, allocations: 51.77 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3302, allocations: 92.11 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3302, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3302, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3302, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006617/0.3309, allocations: 419.1 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3309, allocations: 12.62 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.3312, allocations: 32.72 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.3314, allocations: 193.7 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.3315, allocations: 34.27 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3315, allocations: 12.31 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.3318, allocations: 98.2 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3318, allocations: 11.92 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3319, allocations: 0 / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3319, allocations: 4 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.3321, allocations: 79.94 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.3329, allocations: 384.6 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.3335, allocations: 130.6 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3336, allocations: 40.83 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3336, allocations: 11.94 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3336, allocations: 30.56 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.3337, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004298/0.3341, allocations: 133.7 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3341, allocations: 51.41 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3343, allocations: 143.9 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3343, allocations: 33.64 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.3344, allocations: 100.1 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3344, allocations: 23.64 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.3345, allocations: 21.72 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3346, allocations: 322.8 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3347, allocations: 23.98 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3349, allocations: 49.62 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.3351, allocations: 77.67 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3351, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002618/0.3354, allocations: 113.5 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3354, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3354, allocations: 7.969 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3354, allocations: 3.984 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3355, allocations: 23.92 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3356, allocations: 4 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.3357, allocations: 11.89 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3357, allocations: 8 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.525e-05/0.3358, allocations: 120 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3358, allocations: 11.84 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.3359, allocations: 12.72 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3359, allocations: 7.938 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3359, allocations: 0 / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3359, allocations: 3.984 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3361, allocations: 197.6 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3361, allocations: 0 / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3362, allocations: 15.98 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3363, allocations: 4 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3363, allocations: 0 / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3363, allocations: 3.938 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3363, allocations: 4.547 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.3366, allocations: 203.4 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.3367, allocations: 85.02 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3367, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.3369, allocations: 23.86 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3369, allocations: 7.984 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3369, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.337, allocations: 105.8 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.337, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002448/0.3373, allocations: 23.91 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.3374, allocations: 99.23 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3377, allocations: 79.88 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3377, allocations: 4.062 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3378, allocations: 43.91 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3382, allocations: 15.98 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.3388, allocations: 264.8 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3391, allocations: 0.7001 MB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.3392, allocations: 15.44 kB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3392, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of Templates: time 0.003041/0.3422, allocations: 1.303 MB / 1.073 GB, free: 6.105 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches