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.001645/0.001645, allocations: 110.4 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.001702/0.001703, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001554, allocations: 71.88 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9538/0.9553, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002467/0.9579, allocations: 1.402 MB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005499/0.9584, allocations: 288.7 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.9585, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.9585, allocations: 0.6094 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.154e-05/0.9586, allocations: 13.83 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.9589, allocations: 55.44 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.959, allocations: 25.31 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.9591, allocations: 5.016 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.9591, allocations: 17.55 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.9592, allocations: 5.938 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.9592, allocations: 2.656 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.9594, allocations: 94.77 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.9595, allocations: 10.33 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.9595, allocations: 14.61 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.9597, allocations: 60.59 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9597, allocations: 0 / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9597, allocations: 0 / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.9597, allocations: 0.9688 kB / 1.091 GB, free: 4.238 MB / 0.8575 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.0004062/0.9601, allocations: 346.5 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9602, allocations: 9.094 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.9602, allocations: 10.72 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.9603, allocations: 171.7 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.9603, allocations: 4.375 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.9603, allocations: 2.469 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.9605, allocations: 48.73 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.9605, allocations: 192 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.9605, allocations: 3.938 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9605, allocations: 1.859 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.9607, allocations: 32.83 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.961, allocations: 250.6 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.9612, allocations: 43.64 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/0.9613, allocations: 20.11 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.9613, allocations: 0.9062 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.9613, allocations: 36.17 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9613, allocations: 0 / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003852/0.9617, allocations: 84.31 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.9618, allocations: 55.95 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.841e-05/0.9618, allocations: 102 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.9618, allocations: 25.7 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.9619, allocations: 93.73 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.9619, allocations: 1.828 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.9619, allocations: 16.77 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.962, allocations: 312.7 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.9621, allocations: 18.61 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.9621, allocations: 14.16 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.9623, allocations: 40.14 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9623, allocations: 1.188 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.9625, allocations: 74.14 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9625, allocations: 7.984 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.9626, allocations: 0.9375 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9626, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.9627, allocations: 17.67 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.9627, allocations: 1.156 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.9627, allocations: 5.453 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.9627, allocations: 0.9375 kB / 1.092 GB, free: 2.512 MB / 0.8575 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 5.076e-05/0.9628, allocations: 112.5 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.9628, allocations: 1.797 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.9631, allocations: 79.12 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9631, allocations: 5.25 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9631, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9631, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.9632, allocations: 160.6 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9632, allocations: 0 / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.9633, allocations: 8.797 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9633, allocations: 1.094 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.9633, allocations: 0 / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9633, allocations: 1.797 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9633, allocations: 4 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.9635, allocations: 171 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.9636, allocations: 82.42 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.9636, allocations: 1.484 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.9637, allocations: 6.344 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.9637, allocations: 1.609 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.9637, allocations: 8.812 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.9638, allocations: 80.64 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9638, allocations: 3.938 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000253/0.964, allocations: 13.61 kB / 1.093 GB, free: 1.805 MB / 0.8575 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.0001645/0.9642, allocations: 111.2 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.9644, allocations: 40.36 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9644, allocations: 0 / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.9645, allocations: 16.86 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.9648, allocations: 9.969 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.9651, allocations: 139.2 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.9652, allocations: 0.6761 MB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.9652, allocations: 8.844 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.9652, allocations: 4.125 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of Templates: time 0.002422/0.9677, allocations: 0.6748 MB / 1.095 GB, free: 0.8047 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches