Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001765, allocations: 190.9 kB / 16.66 MB, free: 6.582 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.415/1.415, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3488, allocations: 159.9 MB / 1.226 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002345/0.3512, allocations: 1.414 MB / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.3521, allocations: 0.592 MB / 1.228 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.3522, allocations: 3.938 kB / 1.228 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.3522, allocations: 3.938 kB / 1.228 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.3523, allocations: 7.922 kB / 1.228 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.3527, allocations: 99.58 kB / 1.228 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.3528, allocations: 27.91 kB / 1.228 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.3529, allocations: 4 kB / 1.228 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.3529, allocations: 11.98 kB / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.353, allocations: 15.92 kB / 1.228 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.353, allocations: 0 / 1.228 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.3532, allocations: 143.8 kB / 1.228 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.3533, allocations: 4 kB / 1.228 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.3533, allocations: 11.94 kB / 1.228 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3535, allocations: 103.6 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3535, allocations: 0 / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3535, allocations: 0 / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3535, allocations: 0 / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004518/0.354, allocations: 359.2 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.354, allocations: 8.031 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.3545, allocations: 32.86 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3546, allocations: 172.4 kB / 1.229 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3547, allocations: 384 / 1.229 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3547, allocations: 384 / 1.229 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.3549, allocations: 62.2 kB / 1.229 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.355, allocations: 192 / 1.229 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.355, allocations: 7.938 kB / 1.229 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.355, allocations: 3.938 kB / 1.229 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.3553, allocations: 55.94 kB / 1.229 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.3559, allocations: 280.6 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.3561, allocations: 70.41 kB / 1.229 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3563, allocations: 28.84 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.3563, allocations: 15.95 kB / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3564, allocations: 34.5 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 4.168e-06/0.3564, allocations: 4 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005422/0.3569, allocations: 113.6 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.357, allocations: 51.41 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.3571, allocations: 105.8 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3571, allocations: 29.83 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.3572, allocations: 80.14 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3572, allocations: 7.891 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.3573, allocations: 17.7 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3574, allocations: 314.8 kB / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3575, allocations: 27.97 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3577, allocations: 27.97 kB / 1.23 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.3579, allocations: 56.75 kB / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3579, allocations: 0 / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002884/0.3582, allocations: 93.62 kB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3582, allocations: 8 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3582, allocations: 4 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3583, allocations: 0 / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3584, allocations: 15.98 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3584, allocations: 3.984 kB / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.3585, allocations: 12.02 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3585, allocations: 0 / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.464e-05/0.3586, allocations: 117.8 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3587, allocations: 0 / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.3587, allocations: 11.06 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3587, allocations: 0 / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3587, allocations: 0 / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3587, allocations: 0 / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3589, allocations: 173.5 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3589, allocations: 0 / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.359, allocations: 15.97 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.359, allocations: 4 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3591, allocations: 0 / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3591, allocations: 3.938 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3591, allocations: 0 / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.3594, allocations: 187.4 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.3595, allocations: 85.05 kB / 1.231 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3595, allocations: 0 / 1.231 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3596, allocations: 7.984 kB / 1.231 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3596, allocations: 0 / 1.231 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3597, allocations: 8.031 kB / 1.231 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.3597, allocations: 91.2 kB / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3597, allocations: 0 / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002429/0.3599, allocations: 11.94 kB / 1.231 GB, free: 3.699 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.000188/0.3601, allocations: 111.2 kB / 1.231 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.3605, allocations: 59.94 kB / 1.231 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3605, allocations: 0 / 1.231 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3606, allocations: 31.97 kB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.3609, allocations: 7.938 kB / 1.231 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.3614, allocations: 138.5 kB / 1.231 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.3616, allocations: 0.6729 MB / 1.232 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.3617, allocations: 8 kB / 1.232 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.3617, allocations: 11.42 kB / 1.232 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3617, allocations: 0 / 1.232 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.002984/0.3647, allocations: 0.7836 MB / 1.232 GB, free: 1.824 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches