Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001202/0.001202, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001426/0.001426, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9762/0.9762, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.974/1.974, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.272e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002485/0.002507, allocations: 1.529 MB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.003382, allocations: 0.6051 MB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.003407, allocations: 0.6875 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.003433, allocations: 3.938 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.003488, allocations: 8.078 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.003966, allocations: 98.44 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.004031, allocations: 26.3 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.004105, allocations: 7.984 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.004168, allocations: 11.98 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.004209, allocations: 6.062 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.004223, allocations: 4 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.004485, allocations: 151.7 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.004499, allocations: 7.984 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.004515, allocations: 4 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.0047, allocations: 107.7 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004703, allocations: 0.75 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004704, allocations: 0 / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.004707, allocations: 4.781 kB / 0.7625 GB, free: 4.082 MB / 0.7136 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.0002861/0.004993, allocations: 264.7 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.005025, allocations: 8.688 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.005344, allocations: 30.84 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.005428, allocations: 105.8 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.005438, allocations: 384 / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.005445, allocations: 5.625 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.005574, allocations: 66.92 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005581, allocations: 1.188 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.005589, allocations: 384 / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005594, allocations: 384 / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.00563, allocations: 17.92 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.005886, allocations: 168.2 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.005952, allocations: 37.3 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.005971, allocations: 8.922 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.005982, allocations: 0 / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.006004, allocations: 34.55 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.006005, allocations: 4 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001346/0.00614, allocations: 47.28 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.006169, allocations: 55.34 kB / 0.7634 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.006226, allocations: 106.7 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.006239, allocations: 29.7 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.006276, allocations: 89.02 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.006298, allocations: 7.938 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.006331, allocations: 14.62 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.00641, allocations: 318.8 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.006428, allocations: 4.5 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.006444, allocations: 7.156 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.006485, allocations: 20.84 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.006487, allocations: 0 / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.873e-05/0.006556, allocations: 45.62 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.006569, allocations: 4 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006574, allocations: 0 / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.006586, allocations: 2.438 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.006665, allocations: 15.92 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006668, allocations: 0 / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.006703, allocations: 11.98 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.006709, allocations: 0 / 0.764 GB, free: 2.438 MB / 0.7136 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.303e-05/0.006762, allocations: 107 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.006783, allocations: 4 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.00681, allocations: 8.172 kB / 0.7641 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006812, allocations: 1.156 kB / 0.7641 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006815, allocations: 3.938 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.006818, allocations: 0 / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.006924, allocations: 81.34 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006925, allocations: 0 / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.006973, allocations: 11.98 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006974, allocations: 3.938 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.00698, allocations: 0 / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006981, allocations: 3.938 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006982, allocations: 0 / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.802e-05/0.00708, allocations: 139.5 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.007086, allocations: 11.39 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.007097, allocations: 0 / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.007156, allocations: 4 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.007178, allocations: 0 / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.007185, allocations: 3.984 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.224e-05/0.007197, allocations: 12.8 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007197, allocations: 0 / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002007/0.007398, allocations: 15.94 kB / 0.7644 GB, free: 2 MB / 0.7136 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.0001237/0.007521, allocations: 95.38 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/0.007594, allocations: 32.77 kB / 0.7645 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.007597, allocations: 0 / 0.7645 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.007619, allocations: 8.859 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.007788, allocations: 15.95 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.00818, allocations: 120.7 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.008214, allocations: 51.36 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.653e-05/0.008271, allocations: 12.09 kB / 0.7647 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.008334, allocations: 60.52 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.008335, allocations: 0 / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of Templates: time 0.00311/0.01145, allocations: 0.9688 MB / 0.7657 GB, free: 0.6328 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.034878950100392]