Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.008/0.008, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001811/0.001811, allocations: 185.5 kB / 16.67 MB, free: 5.938 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002368, allocations: 59.89 kB / 1.018 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002499/1.028, allocations: 1.412 MB / 1.168 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005269/1.028, allocations: 289.5 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/1.028, allocations: 4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/1.028, allocations: 7.922 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/1.028, allocations: 7.938 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/1.029, allocations: 55.75 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/1.029, allocations: 27.91 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/1.029, allocations: 8 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/1.029, allocations: 7.984 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/1.029, allocations: 11.94 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/1.029, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/1.029, allocations: 91.78 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/1.029, allocations: 7.984 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/1.029, allocations: 11.94 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/1.029, allocations: 68.36 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/1.029, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/1.029, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.029, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.8887 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.0004525/1.03, allocations: 343.4 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.03, allocations: 12.91 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/1.03, allocations: 8.891 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/1.03, allocations: 164.3 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/1.03, allocations: 4.375 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/1.03, allocations: 384 / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/1.03, allocations: 54.17 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.03, allocations: 192 / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/1.03, allocations: 3.938 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.03, allocations: 4 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.03, allocations: 31.95 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/1.031, allocations: 245 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/1.031, allocations: 42.44 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/1.031, allocations: 28.89 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/1.031, allocations: 0 / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/1.031, allocations: 38.56 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 3.547e-06/1.031, allocations: 3.984 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000412/1.031, allocations: 89.53 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.031, allocations: 51.41 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/1.032, allocations: 93.86 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.032, allocations: 33.7 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/1.032, allocations: 84.27 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/1.032, allocations: 11.92 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/1.032, allocations: 17.66 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.032, allocations: 314.8 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/1.032, allocations: 11.98 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/1.032, allocations: 27.91 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/1.032, allocations: 36.89 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.032, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/1.032, allocations: 69.59 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.032, allocations: 4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.032, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.032, allocations: 4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/1.032, allocations: 4 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.032, allocations: 11.95 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/1.033, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/1.033, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 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 7.647e-05/1.033, allocations: 117.8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/1.033, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/1.033, allocations: 68.77 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.033, allocations: 8.031 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.033, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/1.033, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/1.033, allocations: 157.6 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.033, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/1.033, allocations: 11.98 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.033, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/1.033, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.033, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.033, allocations: 3.938 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/1.033, allocations: 167.4 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/1.033, allocations: 77.11 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/1.033, allocations: 0 / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/1.034, allocations: 11.92 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/1.034, allocations: 8 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.034, allocations: 32 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.78e-05/1.034, allocations: 87.27 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.034, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000227/1.034, allocations: 11.94 kB / 1.171 GB, free: 14.99 MB / 0.9044 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.0001873/1.034, allocations: 111.2 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002242/1.034, allocations: 35.91 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.034, allocations: 8.062 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/1.034, allocations: 15.98 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/1.035, allocations: 15.86 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/1.035, allocations: 116.2 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/1.035, allocations: 0.6768 MB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.535e-05/1.035, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/1.035, allocations: 11.5 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/1.035, allocations: 0 / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.002919/1.038, allocations: 0.604 MB / 1.173 GB, free: 13.34 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches