Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.348/2.348, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00133/0.00133, allocations: 179.9 kB / 0.4902 GB, free: 2.254 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.523/1.523, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.000875/0.000875, allocations: 107.1 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 6.781 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3492, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.5545, allocations: 150.7 MB / 1.376 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.5549, allocations: 75.95 kB / 1.376 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004916/0.5598, allocations: 1.273 MB / 1.378 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5599, allocations: 3.938 kB / 1.378 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.5599, allocations: 0 / 1.378 GB, free: 1.527 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000542/0.5605, allocations: 356.2 kB / 1.378 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/0.5605, allocations: 8.562 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.5606, allocations: 3.906 kB / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.5608, allocations: 171 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5608, allocations: 0 / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.5608, allocations: 0 / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.561, allocations: 57.67 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5611, allocations: 0 / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.5611, allocations: 4 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5611, allocations: 3.938 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.5613, allocations: 43.95 kB / 1.378 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.5617, allocations: 248.9 kB / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.5618, allocations: 38.56 kB / 1.379 GB, free: 472 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.5619, allocations: 3.984 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5619, allocations: 46.56 kB / 1.379 GB, free: 412 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.5619, allocations: 3.938 kB / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.5623, allocations: 89.75 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.5623, allocations: 55.39 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.5624, allocations: 100.9 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5624, allocations: 25.7 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.5625, allocations: 84.14 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.5625, allocations: 3.906 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5625, allocations: 4 kB / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5627, allocations: 314.8 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.5628, allocations: 24.02 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.5628, allocations: 19.98 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.222e-05/0.5629, allocations: 20.05 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5629, allocations: 7.938 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002067/0.5632, allocations: 77.66 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5632, allocations: 6.188 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5632, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5632, allocations: 3.938 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.5633, allocations: 16.02 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.5633, allocations: 4 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.5634, allocations: 7.984 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.5634, allocations: 3.953 kB / 1.379 GB, free: 15.5 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 7.421e-05/0.5635, allocations: 109.8 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.5635, allocations: 3.906 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.5638, allocations: 88.72 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5638, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.5638, allocations: 4 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5638, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.564, allocations: 161.6 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.564, allocations: 4.031 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.5641, allocations: 12 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5641, allocations: 0 / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5641, allocations: 3.984 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5641, allocations: 0 / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5641, allocations: 0 / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.5644, allocations: 179.4 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.5645, allocations: 81.11 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5645, allocations: 3.938 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.5646, allocations: 4 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.5646, allocations: 12.02 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.5646, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.5647, allocations: 83.28 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5647, allocations: 0 / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002803/0.565, allocations: 15.94 kB / 1.38 GB, free: 14.65 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.0002349/0.5652, allocations: 112 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.5655, allocations: 51.95 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5655, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.5656, allocations: 19.98 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.5657, allocations: 13.55 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.5661, allocations: 132.6 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.5664, allocations: 0.677 MB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.5664, allocations: 7.984 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.5665, allocations: 7.438 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/0.5665, allocations: 0 / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.002821/0.5693, allocations: 0.515 MB / 1.382 GB, free: 13.06 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches