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.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001001/0.001001, allocations: 172.9 kB / 492.3 MB, free: 0.6133 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.492/1.492, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009655/0.0009652, allocations: 91.89 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.575e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.488, allocations: 149.8 MB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/1.488, allocations: 80.12 kB / 1.359 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00413/1.492, allocations: 1.279 MB / 1.36 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.492, allocations: 4 kB / 1.36 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.492, allocations: 0 / 1.36 GB, free: 34.58 MB / 0.8386 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.0002763/1.493, allocations: 343.5 kB / 1.36 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.493, allocations: 7.688 kB / 1.36 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/1.493, allocations: 6.688 kB / 1.36 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/1.493, allocations: 174.4 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/1.493, allocations: 0 / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/1.493, allocations: 7.844 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/1.493, allocations: 35.77 kB / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/1.493, allocations: 0 / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/1.493, allocations: 0 / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/1.493, allocations: 0 / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/1.493, allocations: 13.98 kB / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/1.493, allocations: 259.5 kB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/1.493, allocations: 29.48 kB / 1.361 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/1.493, allocations: 8.703 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/1.493, allocations: 0 / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/1.493, allocations: 30.56 kB / 1.361 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/1.493, allocations: 0 / 1.361 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/1.494, allocations: 55.27 kB / 1.361 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/1.494, allocations: 51.41 kB / 1.361 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.244e-05/1.494, allocations: 92.94 kB / 1.361 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/1.494, allocations: 25.7 kB / 1.361 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/1.494, allocations: 87.02 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/1.494, allocations: 6.812 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/1.494, allocations: 0 / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.61e-05/1.494, allocations: 318.2 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/1.494, allocations: 3.969 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/1.494, allocations: 9.016 kB / 1.361 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.753e-05/1.494, allocations: 7.906 kB / 1.362 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.494, allocations: 0 / 1.362 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.627e-05/1.494, allocations: 43 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.494, allocations: 6.625 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.494, allocations: 0 / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/1.494, allocations: 0 / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/1.494, allocations: 12.36 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.494, allocations: 0 / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/1.494, allocations: 13.59 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/1.494, allocations: 0 / 1.362 GB, free: 32.97 MB / 0.8386 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 () * 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 4.742e-05/1.494, allocations: 108.9 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/1.494, allocations: 10.39 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-05/1.494, allocations: 44.64 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/1.494, allocations: 0 / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.494, allocations: 3.875 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.494, allocations: 0 / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/1.494, allocations: 166.7 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.495, allocations: 0 / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/1.495, allocations: 12.88 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.495, allocations: 0 / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/1.495, allocations: 0 / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.495, allocations: 0 / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.495, allocations: 3.312 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/1.495, allocations: 143 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/1.495, allocations: 80.2 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/1.495, allocations: 0 / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/1.495, allocations: 13.42 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/1.495, allocations: 11.23 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.495, allocations: 0 / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.6e-05/1.495, allocations: 82.31 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.495, allocations: 0 / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002127/1.495, allocations: 25.81 kB / 1.362 GB, free: 32.29 MB / 0.8386 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 () * 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.0001339/1.495, allocations: 115 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/1.495, allocations: 14.03 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.495, allocations: 0 / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/1.495, allocations: 9.531 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/1.496, allocations: 5.328 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/1.496, allocations: 59.2 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/1.496, allocations: 0.6821 MB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.188e-05/1.496, allocations: 0 / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/1.496, allocations: 15.03 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.496, allocations: 3.938 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of Templates: time 0.002138/1.498, allocations: 0.5159 MB / 1.364 GB, free: 31.37 MB / 0.8386 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