Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009434/0.0009436, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007603/0.007604, allocations: 171 kB / 16.26 MB, free: 6.676 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 8 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6714, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001855/0.6733, allocations: 1.375 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007353/0.6741, allocations: 406.8 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.6742, allocations: 3.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.381e-05/0.6743, allocations: 3.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.6743, allocations: 23.84 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.6747, allocations: 108.9 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.6749, allocations: 103.6 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.675, allocations: 39.97 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.6751, allocations: 27.92 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.6751, allocations: 35.78 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.6752, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.6753, allocations: 51.95 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.6753, allocations: 19.91 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.6754, allocations: 65.5 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.6756, allocations: 129.5 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6756, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6756, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6756, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 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.0006274/0.6763, allocations: 403.2 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6763, allocations: 12.03 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.6766, allocations: 32.81 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.6768, allocations: 188.2 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-05/0.6769, allocations: 38.27 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.6769, allocations: 4.375 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.6772, allocations: 115.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6772, allocations: 7.938 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.6772, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.6773, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.6775, allocations: 91.94 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/0.6783, allocations: 392.5 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.6789, allocations: 134.6 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.679, allocations: 48.83 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.679, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.6791, allocations: 34.56 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.6791, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000449/0.6795, allocations: 149.5 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.6796, allocations: 55.41 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.6797, allocations: 139.5 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.6797, allocations: 29.7 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.6798, allocations: 104 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.6798, allocations: 27.69 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.6798, allocations: 17.72 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.6799, allocations: 318.8 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.6801, allocations: 39.98 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.6802, allocations: 49.69 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.6804, allocations: 93.61 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6804, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003021/0.6807, allocations: 121.5 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6808, allocations: 4 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6808, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.6808, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6809, allocations: 27.92 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6809, allocations: 4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-05/0.681, allocations: 11.98 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.681, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 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.818e-05/0.6811, allocations: 114.4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.6812, allocations: 11.84 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.6812, allocations: 16.72 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6812, allocations: 3.938 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6812, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6812, allocations: 3.984 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.6814, allocations: 197.6 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6814, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.6816, allocations: 27.91 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6816, allocations: 4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.6816, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6816, allocations: 7.938 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6816, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.6819, allocations: 216 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.682, allocations: 88.95 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.682, allocations: 0 / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.6822, allocations: 19.92 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.6822, allocations: 7.984 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.6823, allocations: 0 / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.039e-05/0.6823, allocations: 116.7 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6823, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002581/0.6826, allocations: 20 kB / 1.029 GB, free: 9.637 MB / 0.7794 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.0001266/0.6827, allocations: 107.2 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.683, allocations: 88.02 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.683, allocations: 0 / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.6832, allocations: 47.91 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.6836, allocations: 26.28 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.6841, allocations: 241 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.6844, allocations: 0.6965 MB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.6844, allocations: 8.656 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.6845, allocations: 11.44 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.6845, allocations: 4 kB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of Templates: time 0.003791/0.6883, allocations: 1.31 MB / 1.031 GB, free: 7.066 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches