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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 170.3 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.1 MB / 0.7992 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 103.7 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 10.06 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3119, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.5233, allocations: 151.5 MB / 1.377 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.5237, allocations: 75.95 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.007227/0.531, allocations: 1.977 MB / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.426e-06/0.531, allocations: 0 / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.531, allocations: 4 kB / 1.379 GB, free: 11.76 MB / 0.8855 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.0005047/0.5315, allocations: 364.3 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5316, allocations: 12.03 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.532, allocations: 31.86 kB / 1.38 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.5322, allocations: 167 kB / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5322, allocations: 3.938 kB / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5322, allocations: 0 / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.5325, allocations: 77.64 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.5325, allocations: 0 / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.5325, allocations: 0 / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.5325, allocations: 0 / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.5328, allocations: 63.94 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.5334, allocations: 276.9 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.5337, allocations: 70.47 kB / 1.38 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.5337, allocations: 0 / 1.38 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.5338, allocations: 30.56 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5338, allocations: 3.938 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0005575/0.5343, allocations: 129.8 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.5344, allocations: 59.3 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.5345, allocations: 100.9 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.5345, allocations: 25.7 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.5346, allocations: 88.05 kB / 1.381 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.5346, allocations: 0 / 1.381 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.5346, allocations: 0 / 1.381 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5347, allocations: 318.8 kB / 1.381 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.5349, allocations: 32.02 kB / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.535, allocations: 31.97 kB / 1.381 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.5351, allocations: 32.03 kB / 1.381 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5351, allocations: 0 / 1.381 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003199/0.5355, allocations: 105.5 kB / 1.381 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5355, allocations: 4.938 kB / 1.381 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5355, allocations: 4 kB / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5355, allocations: 0 / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.5357, allocations: 15.98 kB / 1.381 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.5357, allocations: 0 / 1.381 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.5358, allocations: 23.91 kB / 1.381 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5358, allocations: 192 / 1.381 GB, free: 9.52 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5359, allocations: 118.6 kB / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.536, allocations: 0 / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.536, allocations: 7.109 kB / 1.381 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.536, allocations: 4 kB / 1.381 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.536, allocations: 0 / 1.381 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5361, allocations: 4 kB / 1.381 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.5362, allocations: 165.6 kB / 1.381 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5363, allocations: 0 / 1.381 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.5364, allocations: 19.97 kB / 1.381 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5364, allocations: 0 / 1.381 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5364, allocations: 0 / 1.381 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5364, allocations: 0 / 1.381 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5364, allocations: 4 kB / 1.381 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.5368, allocations: 195.4 kB / 1.382 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.5369, allocations: 88.95 kB / 1.382 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.5369, allocations: 7.969 kB / 1.382 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.537, allocations: 11.98 kB / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.5371, allocations: 0 / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.5371, allocations: 0 / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.5372, allocations: 87.27 kB / 1.382 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5372, allocations: 3.938 kB / 1.382 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002456/0.5374, allocations: 15.94 kB / 1.382 GB, free: 8.711 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001968/0.5376, allocations: 115.2 kB / 1.382 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.538, allocations: 67.94 kB / 1.382 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.538, allocations: 0 / 1.382 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.5381, allocations: 31.97 kB / 1.382 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.5383, allocations: 7.953 kB / 1.382 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.5388, allocations: 148.7 kB / 1.382 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.5391, allocations: 0.6809 MB / 1.383 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.009e-05/0.5392, allocations: 4 kB / 1.383 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.5392, allocations: 15.42 kB / 1.383 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.5392, allocations: 0 / 1.383 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of Templates: time 0.003048/0.5423, allocations: 0.6904 MB / 1.384 GB, free: 6.891 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches