Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_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.009247/0.009247, allocations: 99.72 kB / 15.73 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.001802/0.001802, allocations: 201.5 kB / 16.68 MB, free: 6.375 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.626/2.626, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.86 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3495, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002835/0.3524, allocations: 1.411 MB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005006/0.3529, allocations: 195.5 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.3529, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.353, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.595e-05/0.353, allocations: 7.938 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3533, allocations: 19.91 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.3534, allocations: 27.86 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3535, allocations: 8 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.3536, allocations: 7.984 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.3536, allocations: 15.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3537, allocations: 7.984 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.3538, allocations: 27.92 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.3538, allocations: 11.94 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.3538, allocations: 7.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.354, allocations: 43.81 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.354, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.532e-06/0.354, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.354, allocations: 0 / 1.09 GB, free: 15.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005274/0.3545, allocations: 343.4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3546, allocations: 8.031 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3547, allocations: 4.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3549, allocations: 164.4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3549, allocations: 384 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3549, allocations: 4.375 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3551, allocations: 50.23 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3551, allocations: 192 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3552, allocations: 3.938 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3552, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.3554, allocations: 39.89 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3558, allocations: 252.9 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3559, allocations: 38.53 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.356, allocations: 20.91 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.356, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3561, allocations: 38.56 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.066e-06/0.3561, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003583/0.3564, allocations: 81.58 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3565, allocations: 55.41 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.3566, allocations: 101.8 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3566, allocations: 25.83 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.3566, allocations: 84.14 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3567, allocations: 7.891 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.3567, allocations: 17.72 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3568, allocations: 314.8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.3569, allocations: 15.98 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.357, allocations: 15.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3572, allocations: 48.81 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3572, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001794/0.3573, allocations: 65.55 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3574, allocations: 8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3574, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3574, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.3575, allocations: 12.02 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3575, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.3576, allocations: 12.11 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.3576, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 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 8e-05/0.3577, allocations: 113.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3577, allocations: 7.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.358, allocations: 84.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.358, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.358, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.358, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.3582, allocations: 157.6 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3582, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3583, allocations: 11.98 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3583, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3583, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3583, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3583, allocations: 8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3585, allocations: 172.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.3586, allocations: 77.11 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3586, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.3587, allocations: 7.984 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3587, allocations: 8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3588, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001106/0.3589, allocations: 79.28 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3589, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002116/0.3591, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 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.000115/0.3592, allocations: 103.2 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3594, allocations: 35.97 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3594, allocations: 4.062 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.3595, allocations: 27.91 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.3598, allocations: 7.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.3601, allocations: 118.6 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3605, allocations: 0.6806 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.3605, allocations: 4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.3605, allocations: 11.44 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3605, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.002883/0.3634, allocations: 0.498 MB / 1.094 GB, free: 11.31 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches