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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001812/0.001812, allocations: 192 kB / 16.14 MB, free: 6.711 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 72.02 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9384/0.9399, allocations: 140.4 MB / 0.9489 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002254/0.9422, allocations: 1.469 MB / 0.9503 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004781/0.9427, allocations: 289.1 kB / 0.9506 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.9428, allocations: 1.312 kB / 0.9506 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.9428, allocations: 3.984 kB / 0.9506 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.9429, allocations: 0 / 0.9506 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.9431, allocations: 59.64 kB / 0.9507 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.9431, allocations: 23.09 kB / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.9432, allocations: 6.578 kB / 0.9507 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.9433, allocations: 7.875 kB / 0.9507 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.9433, allocations: 11.64 kB / 0.9507 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.9433, allocations: 1.125 kB / 0.9507 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.9435, allocations: 98.75 kB / 0.9508 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.9435, allocations: 4 kB / 0.9508 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.9435, allocations: 15.02 kB / 0.9508 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.9437, allocations: 60.16 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.9437, allocations: 1 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.031e-06/0.9437, allocations: 0 / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.9437, allocations: 0 / 0.9509 GB, free: 7.988 MB / 0.7169 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.0003782/0.9441, allocations: 351.6 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.9441, allocations: 9.719 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.9442, allocations: 2.188 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.391e-05/0.9442, allocations: 177.7 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.9443, allocations: 9.938 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.9443, allocations: 2.219 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.9444, allocations: 43.97 kB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.9444, allocations: 6.016 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.9444, allocations: 7.922 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9445, allocations: 0 / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.9446, allocations: 30.72 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.9449, allocations: 249.4 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.945, allocations: 42.53 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.9451, allocations: 18.41 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.9451, allocations: 9.078 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.9451, allocations: 35.38 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.9451, allocations: 0 / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.9455, allocations: 76.27 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.9455, allocations: 56.84 kB / 0.952 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.9456, allocations: 103.1 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.9456, allocations: 25.7 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.9456, allocations: 93.83 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.9456, allocations: 7.844 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.9456, allocations: 12.34 kB / 0.9522 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.9457, allocations: 320.1 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.9458, allocations: 17.33 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.9459, allocations: 12.42 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.946, allocations: 48.75 kB / 0.9526 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.946, allocations: 0 / 0.9526 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001756/0.9462, allocations: 63.45 kB / 0.9526 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9462, allocations: 10 kB / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.9462, allocations: 0 / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.9463, allocations: 0 / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.9463, allocations: 14.98 kB / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.9463, allocations: 0 / 0.9527 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.9464, allocations: 8.078 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.9464, allocations: 0 / 0.9527 GB, free: 6.145 MB / 0.7169 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 4.818e-05/0.9465, allocations: 112.3 kB / 0.9528 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.9465, allocations: 5.625 kB / 0.9528 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.9467, allocations: 77.91 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9467, allocations: 3.938 kB / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9467, allocations: 1.344 kB / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.9467, allocations: 0 / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.9468, allocations: 162.3 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9468, allocations: 0 / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.9469, allocations: 13.45 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.9469, allocations: 1.156 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.9469, allocations: 0 / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.9469, allocations: 1.094 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9469, allocations: 4.031 kB / 0.953 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.9471, allocations: 163 kB / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.9471, allocations: 78.64 kB / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.9472, allocations: 0 / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.9472, allocations: 8.453 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.9473, allocations: 5.281 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.9473, allocations: 0 / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.9473, allocations: 83.06 kB / 0.9534 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9473, allocations: 0 / 0.9534 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002177/0.9475, allocations: 9.594 kB / 0.9534 GB, free: 5.41 MB / 0.7169 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.0001557/0.9477, allocations: 115.1 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.9479, allocations: 46.05 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9479, allocations: 0 / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.948, allocations: 19.02 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.9483, allocations: 6.125 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.9486, allocations: 122.1 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.9487, allocations: 0.6806 MB / 0.9543 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.9487, allocations: 1.344 kB / 0.9543 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.9488, allocations: 12.59 kB / 0.9543 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.9488, allocations: 0 / 0.9543 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of Templates: time 0.003067/0.9518, allocations: 0.5365 MB / 0.9549 GB, free: 4.156 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches