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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 108.6 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 189.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 72.09 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9582/0.9597, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003114/0.9628, allocations: 1.421 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006857/0.9636, allocations: 291.1 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.9636, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.9637, allocations: 7.922 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.9638, allocations: 7.922 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.9642, allocations: 55.75 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.9643, allocations: 19.92 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.9644, allocations: 11.94 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.9644, allocations: 11.98 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.9645, allocations: 11.94 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.9645, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.9647, allocations: 91.83 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.9648, allocations: 7.984 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.9648, allocations: 11.94 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.965, allocations: 67.66 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.965, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.965, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.965, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 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.0004969/0.9655, allocations: 349.3 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9656, allocations: 8.031 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.9656, allocations: 8.922 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.9658, allocations: 164.3 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.9658, allocations: 384 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.9658, allocations: 4.375 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.966, allocations: 46.23 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.966, allocations: 192 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.966, allocations: 11.94 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.966, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.9662, allocations: 27.97 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.9666, allocations: 252.9 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.9667, allocations: 38.5 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.371e-05/0.9668, allocations: 28.89 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.9668, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.9669, allocations: 30.56 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9669, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.9673, allocations: 93.47 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.9673, allocations: 55.53 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.9674, allocations: 101.9 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.9674, allocations: 25.7 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.9675, allocations: 84.08 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.9675, allocations: 7.891 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.9675, allocations: 17.72 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9676, allocations: 318.7 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.9677, allocations: 15.98 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.9678, allocations: 19.98 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.968, allocations: 36.81 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.968, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.9682, allocations: 77.59 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9682, allocations: 4 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9683, allocations: 4 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.9683, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.9684, allocations: 4 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.9684, allocations: 0 / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.9684, allocations: 7.984 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.9684, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/0.9685, allocations: 117.8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.9686, allocations: 4.031 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.9688, allocations: 80.7 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9688, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9688, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9689, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.969, allocations: 157.6 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.969, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.9691, allocations: 11.98 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9691, allocations: 4.031 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.9691, allocations: 0 / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.9691, allocations: 4 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9691, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.9694, allocations: 163.4 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.9694, allocations: 77.11 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.9695, allocations: 8.031 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.9696, allocations: 7.984 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.9696, allocations: 4 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.9696, allocations: 0 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.9697, allocations: 87.2 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9697, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002425/0.9699, allocations: 12 kB / 1.213 GB, free: 8.758 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/0.9701, allocations: 119.2 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.9703, allocations: 31.97 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9704, allocations: 3.938 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.9705, allocations: 15.98 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.9708, allocations: 15.92 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.9711, allocations: 147.8 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.9714, allocations: 0.6729 MB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.9714, allocations: 11.44 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9715, allocations: 0 / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of Templates: time 0.002284/0.9737, allocations: 0.6817 MB / 1.214 GB, free: 7 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches