Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008064/0.008064, allocations: 96.56 kB / 15.73 MB, free: 6.031 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.001851/0.001851, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3459, allocations: 159.9 MB / 1.226 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002692/0.3487, allocations: 1.412 MB / 1.227 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005137/0.3492, allocations: 199.4 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.3492, allocations: 0 / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3493, allocations: 0 / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.3494, allocations: 3.938 kB / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3496, allocations: 23.91 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.235e-05/0.3497, allocations: 31.86 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3498, allocations: 4 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.3499, allocations: 11.98 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.3499, allocations: 11.91 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3499, allocations: 4 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3501, allocations: 27.98 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3501, allocations: 4 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.3501, allocations: 11.94 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3503, allocations: 35.88 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3503, allocations: 4 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3503, allocations: 0 / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3503, allocations: 3.938 kB / 1.227 GB, free: 7.402 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.0005842/0.3509, allocations: 345.4 kB / 1.228 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3509, allocations: 8.031 kB / 1.228 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.3511, allocations: 8.891 kB / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3513, allocations: 164.4 kB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3513, allocations: 384 / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.3513, allocations: 8.375 kB / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3515, allocations: 50.22 kB / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3516, allocations: 192 / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3516, allocations: 7.938 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3516, allocations: 0 / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.3518, allocations: 35.95 kB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.3522, allocations: 248.9 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3523, allocations: 42.53 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.3524, allocations: 20.91 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3525, allocations: 0 / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3525, allocations: 30.56 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3525, allocations: 4 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.3529, allocations: 89.53 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3529, allocations: 55.34 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.353, allocations: 101.8 kB / 1.229 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3531, allocations: 25.7 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.3531, allocations: 84.14 kB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3531, allocations: 4.078 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3532, allocations: 17.72 kB / 1.229 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3534, allocations: 318.8 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.3535, allocations: 15.98 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.3535, allocations: 11.98 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3537, allocations: 40.89 kB / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3537, allocations: 3.984 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.3539, allocations: 73.55 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3539, allocations: 4 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3539, allocations: 3.984 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.354, allocations: 0 / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.3541, allocations: 11.98 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3541, allocations: 3.938 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.3541, allocations: 16.02 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3541, allocations: 0 / 1.229 GB, free: 5.359 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 9.883e-05/0.3542, allocations: 114.3 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.3543, allocations: 4 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3545, allocations: 84.64 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3546, allocations: 4 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3546, allocations: 0 / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3546, allocations: 0 / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.3548, allocations: 161.6 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3548, allocations: 4 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.3548, allocations: 7.984 kB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3549, allocations: 0 / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3549, allocations: 8 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3549, allocations: 0 / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3549, allocations: 0 / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.3551, allocations: 171.4 kB / 1.23 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.3552, allocations: 81.39 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3552, allocations: 3.938 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.3553, allocations: 7.984 kB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3554, allocations: 0 / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3554, allocations: 3.984 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.3554, allocations: 83.28 kB / 1.23 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3554, allocations: 0 / 1.23 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002106/0.3556, allocations: 8 kB / 1.23 GB, free: 4.527 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 (3): * Single equations (assignments): 3 * 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.0001405/0.3558, allocations: 103.2 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.356, allocations: 35.91 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.356, allocations: 0 / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.3561, allocations: 31.97 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3564, allocations: 7.938 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.3567, allocations: 118.5 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.357, allocations: 0.6768 MB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.357, allocations: 0 / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3571, allocations: 19.44 kB / 1.231 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of SimCode: time 1.613e-06/0.3571, allocations: 0 / 1.231 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.002521/0.3596, allocations: 0.4996 MB / 1.231 GB, free: 2.98 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches