Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001211/0.001211, allocations: 185 kB / 498.1 MB, free: 5.762 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.619/1.619, allocations: 223.2 MB / 0.7949 GB, free: 17.95 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.0009687/0.0009689, allocations: 98.23 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 10.91 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3243, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.5232, allocations: 150.5 MB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.5236, allocations: 91.92 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008982/0.5326, allocations: 2.886 MB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5326, allocations: 0 / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.5326, allocations: 0 / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004845/0.5331, allocations: 359.2 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5332, allocations: 12.03 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.5336, allocations: 27.88 kB / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.5337, allocations: 167 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5337, allocations: 3.984 kB / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.5338, allocations: 0 / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.534, allocations: 57.66 kB / 1.373 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.534, allocations: 3.938 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.534, allocations: 0 / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.534, allocations: 7.938 kB / 1.373 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5341, allocations: 27.97 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.5344, allocations: 161.6 kB / 1.374 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.5347, allocations: 70.58 kB / 1.374 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.5348, allocations: 3.984 kB / 1.374 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5348, allocations: 34.64 kB / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 2.524e-06/0.5348, allocations: 0 / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.003851/0.5387, allocations: 0.5837 MB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5387, allocations: 51.41 kB / 1.374 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.5388, allocations: 93 kB / 1.374 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.5388, allocations: 25.7 kB / 1.374 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.5389, allocations: 80.14 kB / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.5389, allocations: 27.83 kB / 1.375 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.539, allocations: 3.938 kB / 1.375 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5391, allocations: 318.8 kB / 1.375 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.5392, allocations: 35.97 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.5394, allocations: 35.95 kB / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.5395, allocations: 44.12 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5395, allocations: 0 / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003533/0.5399, allocations: 129.5 kB / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5399, allocations: 5.406 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5399, allocations: 4 kB / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5399, allocations: 4 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.5402, allocations: 19.97 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5402, allocations: 4 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.5404, allocations: 11.98 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5404, allocations: 0 / 1.375 GB, free: 5.984 MB / 0.8698 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 (7): * Single equations (assignments): 7 * 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.0001101/0.5405, allocations: 118.3 kB / 1.375 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.5405, allocations: 7.953 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.5406, allocations: 23.91 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5406, allocations: 0 / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5406, allocations: 336 / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5407, allocations: 0 / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.5408, allocations: 200.1 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5409, allocations: 4 kB / 1.375 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.5411, allocations: 27.91 kB / 1.375 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5411, allocations: 3.984 kB / 1.375 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5411, allocations: 3.984 kB / 1.375 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5411, allocations: 0 / 1.375 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5412, allocations: 0 / 1.375 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.5417, allocations: 201 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.5418, allocations: 77.11 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.5418, allocations: 0 / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.542, allocations: 12.02 kB / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.542, allocations: 8.062 kB / 1.376 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.542, allocations: 3.984 kB / 1.376 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.5421, allocations: 83.28 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5421, allocations: 3.938 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003012/0.5424, allocations: 39.92 kB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0003136/0.5427, allocations: 135.1 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.5431, allocations: 88.02 kB / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5431, allocations: 4 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.5433, allocations: 51.89 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.5435, allocations: 7.938 kB / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.5442, allocations: 183.6 kB / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5446, allocations: 0.6809 MB / 1.377 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.5448, allocations: 35.86 kB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.5449, allocations: 15.42 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.5449, allocations: 0 / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of Templates: time 0.004431/0.5493, allocations: 1.459 MB / 1.378 GB, free: 2.406 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches