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.0009648/0.0009648, allocations: 93.06 kB / 19.65 MB, free: 284 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.000987/0.000987, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9076/0.9076, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.063/2.063, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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.152e-06/1.152e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.1e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001766/0.001787, allocations: 1.484 MB / 0.8796 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000754/0.002541, allocations: 0.6047 MB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.002563, allocations: 0 / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.002591, allocations: 1.531 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.002644, allocations: 10.11 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.002978, allocations: 98.55 kB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.00304, allocations: 27.8 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.003124, allocations: 11.98 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.00317, allocations: 11.98 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.003209, allocations: 7.984 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.003223, allocations: 4 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.003413, allocations: 139.7 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.003426, allocations: 4 kB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.003444, allocations: 8.672 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.003614, allocations: 115.7 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003616, allocations: 1.656 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003617, allocations: 0 / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003621, allocations: 0 / 0.8806 GB, free: 3.848 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.0003382/0.003959, allocations: 376.4 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.003997, allocations: 9.375 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.004289, allocations: 44.78 kB / 0.881 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.86e-05/0.004368, allocations: 112.6 kB / 0.8811 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004379, allocations: 384 / 0.8811 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.004389, allocations: 4.312 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.004531, allocations: 62.92 kB / 0.8812 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.004539, allocations: 4.188 kB / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.004551, allocations: 4.375 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004557, allocations: 384 / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.004602, allocations: 23.86 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.004935, allocations: 275.8 kB / 0.8815 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.005017, allocations: 42.98 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.00505, allocations: 19.75 kB / 0.8815 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.005065, allocations: 0 / 0.8815 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.005085, allocations: 33.39 kB / 0.8816 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.005086, allocations: 0 / 0.8816 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.00526, allocations: 69.56 kB / 0.8816 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.005289, allocations: 55.34 kB / 0.8817 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.005355, allocations: 165.9 kB / 0.8819 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.005369, allocations: 25.7 kB / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.005405, allocations: 126.9 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.005423, allocations: 7.891 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.005456, allocations: 27.36 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.00556, allocations: 492.1 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.005582, allocations: 8 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.005601, allocations: 12.11 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.005645, allocations: 23.69 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005647, allocations: 0 / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.558e-05/0.005722, allocations: 53.67 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005734, allocations: 7.938 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.00574, allocations: 3.938 kB / 0.8826 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.005751, allocations: 0 / 0.8826 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.005826, allocations: 16.08 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.00583, allocations: 0 / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.005858, allocations: 4 kB / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.005864, allocations: 0 / 0.8826 GB, free: 1.57 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 5.836e-05/0.005923, allocations: 160.6 kB / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.005939, allocations: 3.984 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.005969, allocations: 7.25 kB / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005972, allocations: 4.188 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.005975, allocations: 4 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.005979, allocations: 3.984 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.912e-05/0.006068, allocations: 120.6 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006069, allocations: 0 / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.006106, allocations: 11.98 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006108, allocations: 0 / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.006115, allocations: 0 / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.006119, allocations: 7.938 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00612, allocations: 0 / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.006239, allocations: 211.8 kB / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.006244, allocations: 0 / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.006256, allocations: 0 / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.006299, allocations: 11.94 kB / 0.8831 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.00633, allocations: 3.984 kB / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.006335, allocations: 4 kB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.006367, allocations: 119.2 kB / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006367, allocations: 0 / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001586/0.006525, allocations: 19.92 kB / 0.8833 GB, free: 0.8242 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.0001189/0.006644, allocations: 111.3 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.664e-05/0.006741, allocations: 31.66 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.006743, allocations: 0 / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.006767, allocations: 19.62 kB / 0.8834 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.00695, allocations: 19.92 kB / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.007371, allocations: 130.4 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.007401, allocations: 51.36 kB / 0.8836 GB, free: 412 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.007444, allocations: 11.94 kB / 0.8836 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.007477, allocations: 20.48 kB / 0.8837 GB, free: 376 kB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.007478, allocations: 0 / 0.8837 GB, free: 376 kB / 0.8386 GB Notification: Performance of Templates: time 0.002779/0.01026, allocations: 1.02 MB / 0.8847 GB, free: 15.36 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.092381920199841]