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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.071/1.071, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.444/2.444, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.566e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002292/0.002317, allocations: 1.522 MB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.002755, allocations: 223.4 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.002785, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.002814, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.002861, allocations: 3.938 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.003055, allocations: 31.78 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.003115, allocations: 23.92 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.419e-05/0.00319, allocations: 11.98 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.003248, allocations: 19.92 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.00328, allocations: 7.984 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.003291, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.003383, allocations: 27.98 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.003398, allocations: 7.984 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.003413, allocations: 4 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003521, allocations: 47.77 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003524, allocations: 0 / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003525, allocations: 0 / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003528, allocations: 0 / 0.8405 GB, free: 12.26 MB / 0.8073 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.000284/0.003812, allocations: 236.6 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003847, allocations: 16.03 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.003988, allocations: 8.875 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.051e-05/0.004078, allocations: 109.8 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.00409, allocations: 4.359 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.004096, allocations: 384 / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/0.00419, allocations: 54.94 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004197, allocations: 192 / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.004204, allocations: 4.375 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.004211, allocations: 4.375 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.055e-05/0.004231, allocations: 7.875 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.004449, allocations: 152.2 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.00449, allocations: 22.56 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.004505, allocations: 8.891 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.004517, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.004537, allocations: 34.62 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.004538, allocations: 0 / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001129/0.004651, allocations: 41.64 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.004681, allocations: 55.34 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.004733, allocations: 102.8 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.004741, allocations: 29.7 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.004768, allocations: 88.08 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.004784, allocations: 7.938 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.004807, allocations: 13.72 kB / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.004883, allocations: 314.8 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.004891, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-06/0.004899, allocations: 4 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.004925, allocations: 16.8 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004927, allocations: 0 / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.537e-05/0.004972, allocations: 41.75 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.004983, allocations: 4 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.004986, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.004998, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.005051, allocations: 19.92 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.005054, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.005071, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.005074, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 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 4.499e-05/0.005119, allocations: 109.8 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.005134, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.743e-05/0.005211, allocations: 56.95 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.005213, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.005215, allocations: 3.938 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.005217, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.005299, allocations: 73.84 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.0053, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.005324, allocations: 7.984 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005327, allocations: 4 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.005332, allocations: 0 / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005332, allocations: 0 / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.005333, allocations: 4 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.978e-05/0.005403, allocations: 139.7 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.005408, allocations: 48 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.005416, allocations: 3.984 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.005451, allocations: 11.98 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.005477, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.00548, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.137e-05/0.005491, allocations: 16.78 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005491, allocations: 3.938 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001279/0.005619, allocations: 8 kB / 0.8422 GB, free: 10.23 MB / 0.8073 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 7.585e-05/0.005695, allocations: 76.42 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.5e-05/0.00575, allocations: 12.86 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.005752, allocations: 0 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.005769, allocations: 20.78 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.005907, allocations: 9.875 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.006247, allocations: 124.6 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.00628, allocations: 59.41 kB / 0.8425 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.006303, allocations: 4 kB / 0.8425 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.006352, allocations: 51.38 kB / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.006353, allocations: 0 / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of Templates: time 0.002134/0.008487, allocations: 0.6395 MB / 0.8432 GB, free: 9.199 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.422577700112015]