Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001175/0.001175, allocations: 91.3 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.008392/0.008392, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.865/2.865, allocations: 462.7 MB / 0.7364 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 11.78 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3559, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001875/0.3578, allocations: 1.385 MB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.3586, allocations: 398.7 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.3587, allocations: 4 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.355e-05/0.3588, allocations: 7.922 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.3589, allocations: 19.84 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.3593, allocations: 110.7 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3594, allocations: 107.6 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3595, allocations: 35.84 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.3596, allocations: 31.92 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.3597, allocations: 35.78 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3597, allocations: 3.984 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3598, allocations: 63.89 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.3599, allocations: 15.92 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.3599, allocations: 61.5 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3601, allocations: 119.9 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3601, allocations: 0 / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3601, allocations: 4 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.3602, allocations: 7.938 kB / 1.061 GB, free: 3.047 MB / 0.8106 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.0005311/0.3607, allocations: 407.1 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3607, allocations: 8.031 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.361, allocations: 36.81 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3611, allocations: 188.2 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.3612, allocations: 34.27 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3612, allocations: 12.38 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.3615, allocations: 103.9 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3615, allocations: 3.938 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3616, allocations: 12 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3616, allocations: 3.984 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.3619, allocations: 87.94 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.3626, allocations: 400.5 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3631, allocations: 134.6 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3633, allocations: 44.84 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3633, allocations: 3.984 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3633, allocations: 46.5 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3633, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004579/0.3638, allocations: 141.8 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.3638, allocations: 55.41 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.364, allocations: 143.4 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.364, allocations: 25.7 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.364, allocations: 104 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3641, allocations: 27.78 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.3641, allocations: 17.72 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3642, allocations: 318.8 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3644, allocations: 35.98 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3645, allocations: 53.75 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.3647, allocations: 89.62 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3647, allocations: 4 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002773/0.365, allocations: 121.5 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.365, allocations: 8 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.365, allocations: 0 / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3651, allocations: 0 / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3652, allocations: 27.92 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3652, allocations: 0 / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.3653, allocations: 11.98 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3653, allocations: 4 kB / 1.064 GB, free: 152 kB / 0.8106 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.199e-05/0.3654, allocations: 123.3 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3654, allocations: 7.906 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.3655, allocations: 12.72 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.3655, allocations: 7.984 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3655, allocations: 3.938 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3655, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.3657, allocations: 201.5 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3658, allocations: 7.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3659, allocations: 19.98 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3659, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3659, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3659, allocations: 3.938 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3659, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.3662, allocations: 215.4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.3663, allocations: 89.02 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3663, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3665, allocations: 19.92 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3666, allocations: 7.922 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.3666, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.657e-05/0.3667, allocations: 116.5 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3667, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000249/0.3669, allocations: 16 kB / 1.064 GB, free: 15.21 MB / 0.8262 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.000155/0.3671, allocations: 95.25 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.3674, allocations: 87.94 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3674, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3675, allocations: 47.91 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3679, allocations: 27.97 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.3684, allocations: 237.1 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3687, allocations: 0.6965 MB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.197e-05/0.3688, allocations: 12.66 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.3688, allocations: 11.44 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.3688, allocations: 4 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.003645/0.3725, allocations: 1.33 MB / 1.067 GB, free: 12.63 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches