Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001012/0.001012, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01019/0.01019, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.637/2.637, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003736, allocations: 8.281 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8643, allocations: 142.4 MB / 0.955 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002278/0.8666, allocations: 1.373 MB / 0.9564 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008757/0.8675, allocations: 404.5 kB / 0.9568 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.8676, allocations: 1.469 kB / 0.9568 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.8677, allocations: 7.922 kB / 0.9568 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.8678, allocations: 19.8 kB / 0.9568 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.8682, allocations: 113.2 kB / 0.9569 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.8684, allocations: 109.4 kB / 0.957 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.8686, allocations: 33.88 kB / 0.957 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.8687, allocations: 37.88 kB / 0.9571 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.8688, allocations: 27.02 kB / 0.9571 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.8688, allocations: 7.344 kB / 0.9571 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.869, allocations: 63.06 kB / 0.9572 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.869, allocations: 10.95 kB / 0.9572 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.8691, allocations: 71.14 kB / 0.9572 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.8693, allocations: 117.3 kB / 0.9574 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.8693, allocations: 1.094 kB / 0.9574 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8693, allocations: 0 / 0.9574 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8693, allocations: 0 / 0.9574 GB, free: 6.281 MB / 0.7169 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.0006154/0.87, allocations: 408.6 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.87, allocations: 9.062 kB / 0.9578 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.8703, allocations: 35.03 kB / 0.9578 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.8705, allocations: 201.4 kB / 0.958 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.8706, allocations: 34.89 kB / 0.958 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.8706, allocations: 10.16 kB / 0.958 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.8709, allocations: 110.2 kB / 0.9581 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.8709, allocations: 3.938 kB / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.871, allocations: 1.875 kB / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.871, allocations: 1.75 kB / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.8713, allocations: 92.25 kB / 0.9582 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.872, allocations: 397 kB / 0.9586 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.8726, allocations: 136.9 kB / 0.9587 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.8728, allocations: 49.16 kB / 0.9588 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.8728, allocations: 2.125 kB / 0.9588 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.8728, allocations: 30.56 kB / 0.9588 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.8728, allocations: 0 / 0.9588 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004637/0.8733, allocations: 154.2 kB / 0.959 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.8733, allocations: 52.62 kB / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.8735, allocations: 140.2 kB / 0.9591 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.8735, allocations: 29.7 kB / 0.9592 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.8735, allocations: 100.3 kB / 0.9593 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.8736, allocations: 27.44 kB / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.8736, allocations: 18.89 kB / 0.9593 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.8737, allocations: 317.4 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.8738, allocations: 37 kB / 0.9596 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.8739, allocations: 52.66 kB / 0.9597 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.8742, allocations: 87.36 kB / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8742, allocations: 0 / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002857/0.8745, allocations: 133 kB / 0.9599 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.8745, allocations: 4.906 kB / 0.9599 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8745, allocations: 5.188 kB / 0.9599 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8745, allocations: 1.406 kB / 0.9599 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.8747, allocations: 23.55 kB / 0.9599 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8747, allocations: 5.125 kB / 0.9599 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.8748, allocations: 11.34 kB / 0.96 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.8748, allocations: 2.031 kB / 0.96 GB, free: 4.004 MB / 0.7169 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 8.035e-05/0.8749, allocations: 121.8 kB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.8749, allocations: 7.844 kB / 0.9601 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.875, allocations: 14.22 kB / 0.9601 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.875, allocations: 5.938 kB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.875, allocations: 4 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.875, allocations: 0 / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.8752, allocations: 200.5 kB / 0.9603 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8752, allocations: 0 / 0.9603 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.8753, allocations: 22.95 kB / 0.9603 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8753, allocations: 1.281 kB / 0.9603 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.8753, allocations: 4 kB / 0.9603 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8753, allocations: 4.844 kB / 0.9603 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8753, allocations: 0 / 0.9603 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.8756, allocations: 217.5 kB / 0.9605 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.8757, allocations: 91.69 kB / 0.9606 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.8757, allocations: 0 / 0.9606 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.8759, allocations: 22.92 kB / 0.9606 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.8759, allocations: 2.75 kB / 0.9606 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.8759, allocations: 10.73 kB / 0.9607 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.876, allocations: 103.8 kB / 0.9608 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.876, allocations: 1.375 kB / 0.9608 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002393/0.8763, allocations: 20.41 kB / 0.9608 GB, free: 3.223 MB / 0.7169 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.0001228/0.8764, allocations: 95.75 kB / 0.9609 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.8767, allocations: 88.14 kB / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8767, allocations: 0 / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.8768, allocations: 47.53 kB / 0.961 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.8773, allocations: 25.09 kB / 0.961 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.8778, allocations: 245.2 kB / 0.9613 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.8779, allocations: 0.6963 MB / 0.9619 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.135e-05/0.878, allocations: 10.45 kB / 0.9619 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.8781, allocations: 11.62 kB / 0.962 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8781, allocations: 0.9688 kB / 0.962 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.004215/0.8823, allocations: 1.324 MB / 0.9632 GB, free: 1.469 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches