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.001804/0.001804, allocations: 113.7 kB / 16.42 MB, free: 6.492 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.002004/0.002005, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.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.437/2.437, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243/1.245, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002881/1.248, allocations: 1.673 MB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007112/1.248, allocations: 394.4 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/1.248, allocations: 1.219 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/1.249, allocations: 9.703 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/1.249, allocations: 26.55 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/1.249, allocations: 116.7 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/1.249, allocations: 113.9 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/1.249, allocations: 40.36 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/1.25, allocations: 44.75 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/1.25, allocations: 36.5 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/1.25, allocations: 11.8 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/1.25, allocations: 61.25 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/1.25, allocations: 24.05 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/1.25, allocations: 47.09 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/1.25, allocations: 136.8 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.25, allocations: 5.188 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/1.25, allocations: 0 / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.25, allocations: 0 / 1.091 GB, free: 3.777 MB / 0.8575 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.000614/1.251, allocations: 415.8 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.251, allocations: 9.438 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/1.251, allocations: 32.06 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/1.251, allocations: 196.5 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/1.252, allocations: 39.89 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/1.252, allocations: 5.469 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/1.252, allocations: 100.5 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.252, allocations: 3.938 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.252, allocations: 5.469 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.252, allocations: 2.5 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/1.252, allocations: 82.36 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/1.253, allocations: 386.9 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/1.253, allocations: 128.5 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/1.254, allocations: 42.7 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/1.254, allocations: 2.266 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/1.254, allocations: 35.22 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/1.254, allocations: 0.9375 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004805/1.254, allocations: 134.1 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/1.254, allocations: 52.11 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.254, allocations: 148.8 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.254, allocations: 26.7 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/1.254, allocations: 98.56 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/1.254, allocations: 28.92 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/1.254, allocations: 19.72 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/1.255, allocations: 327.5 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/1.255, allocations: 34.92 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/1.255, allocations: 43.41 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/1.255, allocations: 75 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.255, allocations: 4 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002662/1.255, allocations: 112.4 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.255, allocations: 5.188 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.255, allocations: 1.359 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.255, allocations: 1.5 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/1.255, allocations: 16.89 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.255, allocations: 6 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/1.256, allocations: 16.17 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.256, allocations: 6.344 kB / 1.094 GB, free: 1.723 MB / 0.8575 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 6.888e-05/1.256, allocations: 117.8 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/1.256, allocations: 16.58 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/1.256, allocations: 11.52 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.256, allocations: 0.6562 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.256, allocations: 4.688 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/1.256, allocations: 84.8 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/1.256, allocations: 4.625 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.256, allocations: 14.98 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/1.256, allocations: 4.766 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003272/1.256, allocations: 188 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003038/1.257, allocations: 285 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001176/1.257, allocations: 33.84 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.354e-05/1.257, allocations: 107.1 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of Backend: time 3.81e-07/1.257, allocations: 0 / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005667/1.257, allocations: 150 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005177/1.258, allocations: 0.6243 MB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of Templates: time 0.005269/1.263, allocations: 1.701 MB / 1.097 GB, free: 156 kB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches