Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.352/2.352, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001257/0.001257, allocations: 187.2 kB / 0.4902 GB, free: 2.207 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.1 MB / 0.7992 GB, free: 15.67 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.001092/0.001092, allocations: 88.28 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003892, allocations: 10.25 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3393, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.5501, allocations: 151.3 MB / 1.377 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5504, allocations: 95.92 kB / 1.377 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.009223/0.5597, allocations: 2.889 MB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5597, allocations: 0 / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5597, allocations: 0 / 1.38 GB, free: 10.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003877/0.5601, allocations: 367.2 kB / 1.38 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5602, allocations: 12.52 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003766/0.5606, allocations: 23.97 kB / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.5607, allocations: 170.9 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.5607, allocations: 4 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.5608, allocations: 4 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.5609, allocations: 61.7 kB / 1.381 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.561, allocations: 4 kB / 1.381 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.561, allocations: 0 / 1.381 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.561, allocations: 0 / 1.381 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.5611, allocations: 27.97 kB / 1.381 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.5613, allocations: 161.6 kB / 1.381 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.5616, allocations: 66.58 kB / 1.381 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.5617, allocations: 0 / 1.381 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5617, allocations: 42.5 kB / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.5617, allocations: 0 / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.003805/0.5655, allocations: 0.58 MB / 1.381 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.5656, allocations: 51.41 kB / 1.381 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.5657, allocations: 93 kB / 1.382 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5657, allocations: 25.7 kB / 1.382 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.5657, allocations: 84.27 kB / 1.382 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.5658, allocations: 31.62 kB / 1.382 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.5658, allocations: 0 / 1.382 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5659, allocations: 314.8 kB / 1.382 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.5661, allocations: 39.97 kB / 1.382 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.5662, allocations: 39.95 kB / 1.382 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.5663, allocations: 39.97 kB / 1.382 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5664, allocations: 0 / 1.382 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003492/0.5667, allocations: 121.6 kB / 1.382 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5667, allocations: 8 kB / 1.382 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5668, allocations: 7.984 kB / 1.382 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5668, allocations: 0 / 1.382 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.567, allocations: 23.97 kB / 1.382 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.567, allocations: 0 / 1.382 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.5672, allocations: 7.938 kB / 1.382 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.5672, allocations: 7.984 kB / 1.382 GB, free: 8.293 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 (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 9.837e-05/0.5673, allocations: 114.8 kB / 1.382 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.5674, allocations: 4 kB / 1.382 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.5674, allocations: 11.97 kB / 1.382 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5674, allocations: 3.984 kB / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5674, allocations: 0 / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5675, allocations: 336 / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.5676, allocations: 204.1 kB / 1.383 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5676, allocations: 3.938 kB / 1.383 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.5679, allocations: 27.91 kB / 1.383 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5679, allocations: 3.984 kB / 1.383 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.5679, allocations: 3.984 kB / 1.383 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5679, allocations: 4 kB / 1.383 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5679, allocations: 0 / 1.383 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.5685, allocations: 197 kB / 1.383 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.5685, allocations: 77.11 kB / 1.383 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.5686, allocations: 8.031 kB / 1.383 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.5688, allocations: 12.05 kB / 1.383 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.5688, allocations: 4 kB / 1.383 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.5688, allocations: 7.984 kB / 1.383 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.5689, allocations: 79.22 kB / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5689, allocations: 0 / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002612/0.5691, allocations: 43.92 kB / 1.383 GB, free: 7.402 MB / 0.8855 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.0002683/0.5694, allocations: 128.1 kB / 1.383 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.5697, allocations: 91.92 kB / 1.383 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5697, allocations: 0 / 1.383 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.5699, allocations: 51.89 kB / 1.383 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.5701, allocations: 11.95 kB / 1.383 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.5707, allocations: 175.6 kB / 1.383 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.571, allocations: 0.6809 MB / 1.384 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002397/0.5713, allocations: 31.88 kB / 1.384 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.5714, allocations: 23.41 kB / 1.384 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5714, allocations: 0 / 1.384 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of Templates: time 0.004019/0.5754, allocations: 1.463 MB / 1.386 GB, free: 4.738 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches