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.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.001462/0.001462, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001744/0.001744, allocations: 165 kB / 23.02 MB, free: 1.555 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.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.126/2.126, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.978e-05, allocations: 7.125 kB / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002826/0.002856, allocations: 1.482 MB / 0.8796 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003954, allocations: 0.5911 MB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.003984, allocations: 0 / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.004021, allocations: 4.906 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.004087, allocations: 3.984 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.004554, allocations: 104.6 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.00463, allocations: 28.95 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.004729, allocations: 4 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.004787, allocations: 11.98 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.004836, allocations: 9.047 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.004851, allocations: 0 / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.005129, allocations: 147.7 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.005144, allocations: 4.953 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.005171, allocations: 11.98 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.005409, allocations: 107.6 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005412, allocations: 0.7188 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005413, allocations: 4 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005418, allocations: 1.656 kB / 0.8806 GB, free: 3.824 MB / 0.8386 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.0004495/0.005867, allocations: 380.3 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.005913, allocations: 12.02 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.006323, allocations: 39.23 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.006424, allocations: 104.6 kB / 0.8811 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.006438, allocations: 4.375 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.006456, allocations: 384 / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.006668, allocations: 72.09 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.006681, allocations: 192 / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.006695, allocations: 5.969 kB / 0.8812 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.006704, allocations: 384 / 0.8812 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.827e-05/0.006772, allocations: 19.86 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.007205, allocations: 282.1 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.007318, allocations: 47.05 kB / 0.8815 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.007358, allocations: 15.75 kB / 0.8815 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.007381, allocations: 2.062 kB / 0.8815 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.007411, allocations: 33.39 kB / 0.8816 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.007412, allocations: 0 / 0.8816 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002453/0.007658, allocations: 69.5 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.007692, allocations: 55.53 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.007784, allocations: 165.9 kB / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.007799, allocations: 25.7 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.007848, allocations: 126.9 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.007869, allocations: 3.953 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.007917, allocations: 27.36 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.008062, allocations: 492.1 kB / 0.8825 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.008096, allocations: 8 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.008126, allocations: 11.98 kB / 0.8825 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/0.008189, allocations: 27.69 kB / 0.8825 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008192, allocations: 0 / 0.8825 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.008311, allocations: 53.67 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.008329, allocations: 6.188 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.008337, allocations: 3.938 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.008355, allocations: 0 / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.008462, allocations: 11.98 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008468, allocations: 0 / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.008519, allocations: 8.031 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.008527, allocations: 0 / 0.8826 GB, free: 1.555 MB / 0.8386 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.674e-05/0.008614, allocations: 164.6 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.008646, allocations: 4 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.008689, allocations: 7.25 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008691, allocations: 0 / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.008696, allocations: 7.938 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.008698, allocations: 0 / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.008844, allocations: 120.6 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008846, allocations: 4 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.008913, allocations: 11.98 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008915, allocations: 3.938 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.008925, allocations: 0 / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.008929, allocations: 3.938 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.008931, allocations: 0 / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.009106, allocations: 195.9 kB / 0.8831 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.009114, allocations: 8 kB / 0.8831 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.009129, allocations: 32 / 0.8831 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.009212, allocations: 11.94 kB / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.009248, allocations: 4.172 kB / 0.8831 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.009255, allocations: 0 / 0.8831 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.009302, allocations: 127.2 kB / 0.8833 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.009302, allocations: 3.938 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001331/0.01063, allocations: 19.92 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 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.000207/0.01084, allocations: 107.2 kB / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01098, allocations: 35.66 kB / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01098, allocations: 0 / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.01103, allocations: 15.69 kB / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.01131, allocations: 15.98 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.01191, allocations: 134.2 kB / 0.8836 GB, free: 468 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.01195, allocations: 55.48 kB / 0.8836 GB, free: 392 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.34e-05/0.01202, allocations: 11.94 kB / 0.8836 GB, free: 380 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.01206, allocations: 16.48 kB / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of SimCode: time 7.71e-07/0.01206, allocations: 0 / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of Templates: time 0.003508/0.01557, allocations: 0.944 MB / 0.8846 GB, free: 15.42 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.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.566489600110799]