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.535/2.535, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.0009767/0.0009768, allocations: 180.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001168/0.001168, allocations: 87.95 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.43e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3114, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9473/1.259, allocations: 150.6 MB / 1.366 GB, free: 3.406 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.259, allocations: 72.47 kB / 1.366 GB, free: 3.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00374/1.263, allocations: 1.285 MB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.993e-06/1.263, allocations: 0 / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.263, allocations: 0 / 1.367 GB, free: 2.219 MB / 0.823 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.0003192/1.263, allocations: 342.5 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.263, allocations: 12.03 kB / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/1.263, allocations: 7.25 kB / 1.367 GB, free: 1.824 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/1.263, allocations: 167.6 kB / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/1.263, allocations: 4 kB / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/1.263, allocations: 0 / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.149e-05/1.263, allocations: 32.83 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/1.263, allocations: 3.984 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/1.263, allocations: 0 / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/1.263, allocations: 4.875 kB / 1.368 GB, free: 1.574 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.45e-05/1.264, allocations: 14.98 kB / 1.368 GB, free: 1.562 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/1.264, allocations: 257.8 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/1.264, allocations: 25.7 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/1.264, allocations: 11.67 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/1.264, allocations: 0 / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/1.264, allocations: 34.56 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.264, allocations: 0 / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/1.264, allocations: 47.94 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.264, allocations: 59.36 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/1.264, allocations: 89.88 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/1.264, allocations: 25.7 kB / 1.368 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/1.264, allocations: 83.39 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/1.264, allocations: 7.844 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/1.264, allocations: 8.031 kB / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/1.264, allocations: 318.1 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/1.264, allocations: 4 kB / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/1.264, allocations: 3.875 kB / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.83e-05/1.264, allocations: 5.969 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.264, allocations: 0 / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.757e-05/1.265, allocations: 41.08 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.265, allocations: 4 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.265, allocations: 4.078 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/1.265, allocations: 7.938 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/1.265, allocations: 10.81 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/1.265, allocations: 4.547 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/1.265, allocations: 11.94 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/1.265, allocations: 0 / 1.369 GB, free: 448 kB / 0.823 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 5.298e-05/1.265, allocations: 105 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/1.265, allocations: 7.75 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/1.265, allocations: 48.03 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.265, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.265, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.265, allocations: 4 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/1.265, allocations: 161.5 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.265, allocations: 0 / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/1.265, allocations: 19.86 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.265, allocations: 0 / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/1.265, allocations: 4.031 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.265, allocations: 0 / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.265, allocations: 0 / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/1.265, allocations: 138.4 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/1.265, allocations: 81.09 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/1.265, allocations: 4 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/1.266, allocations: 8.031 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/1.266, allocations: 3.984 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/1.266, allocations: 4 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.927e-05/1.266, allocations: 83.34 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 0 / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002153/1.266, allocations: 15.94 kB / 1.369 GB, free: 15.69 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.0001498/1.266, allocations: 115.3 kB / 1.369 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.065e-05/1.266, allocations: 23.25 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.266, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/1.266, allocations: 7.25 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/1.266, allocations: 3.953 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/1.266, allocations: 59.55 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/1.267, allocations: 0.6809 MB / 1.37 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.233e-05/1.267, allocations: 0 / 1.37 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/1.267, allocations: 15.56 kB / 1.37 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.267, allocations: 0 / 1.37 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of Templates: time 0.0023/1.269, allocations: 0.5344 MB / 1.371 GB, free: 14.22 MB / 0.8386 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