Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001144/0.001144, allocations: 188.2 kB / 498.1 MB, free: 5.676 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.504/1.504, allocations: 223.2 MB / 0.7948 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.0008864/0.0008864, allocations: 96.33 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003737, allocations: 6.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.32, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.5744, allocations: 149.9 MB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/0.5749, allocations: 83.95 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006031/0.581, allocations: 1.281 MB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.581, allocations: 0 / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.581, allocations: 0 / 1.371 GB, free: 10.82 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.0005174/0.5816, allocations: 359.6 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.5816, allocations: 12.03 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.5817, allocations: 0 / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.5819, allocations: 171 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.5819, allocations: 4 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.5819, allocations: 3.984 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.5822, allocations: 57.61 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5822, allocations: 4 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5822, allocations: 0 / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5822, allocations: 0 / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.5825, allocations: 39.97 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.583, allocations: 252.9 kB / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5832, allocations: 42.56 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.5832, allocations: 0 / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.5833, allocations: 34.5 kB / 1.371 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 3.727e-06/0.5833, allocations: 4 kB / 1.371 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0005118/0.5838, allocations: 93.7 kB / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.5839, allocations: 55.53 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.584, allocations: 100.9 kB / 1.372 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.584, allocations: 29.64 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.5841, allocations: 88.05 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.5841, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.5841, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5842, allocations: 314.8 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.5844, allocations: 23.98 kB / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.5845, allocations: 31.84 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.5846, allocations: 19.98 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5846, allocations: 0 / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002946/0.5849, allocations: 81.62 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.585, allocations: 8 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.585, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.585, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5851, allocations: 11.98 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5852, allocations: 4.031 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.5853, allocations: 8 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.5853, allocations: 3.953 kB / 1.372 GB, free: 8.789 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 (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 8.942e-05/0.5854, allocations: 109.8 kB / 1.372 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.5854, allocations: 4 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.5858, allocations: 88.64 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5858, allocations: 4 kB / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5858, allocations: 0 / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5858, allocations: 0 / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.5861, allocations: 157.6 kB / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5861, allocations: 0 / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5862, allocations: 20.02 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5862, allocations: 0 / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5862, allocations: 0 / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5862, allocations: 4 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5862, allocations: 4 kB / 1.373 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.5866, allocations: 175.4 kB / 1.373 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.5867, allocations: 81.02 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.5867, allocations: 0 / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.5868, allocations: 11.98 kB / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5869, allocations: 4 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5869, allocations: 0 / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.587, allocations: 95.41 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.587, allocations: 0 / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000419/0.5874, allocations: 16 kB / 1.373 GB, free: 7.93 MB / 0.8698 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.000244/0.5877, allocations: 119 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.588, allocations: 47.97 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.588, allocations: 0 / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.5881, allocations: 31.91 kB / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.5884, allocations: 9.141 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.5888, allocations: 128.7 kB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.5891, allocations: 0.6809 MB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.5891, allocations: 0 / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.5892, allocations: 7.438 kB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/0.5892, allocations: 0 / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of Templates: time 0.003533/0.5927, allocations: 0.5129 MB / 1.375 GB, free: 6.332 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches