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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001399/0.001399, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.00143, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.822/2.822, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 72.59 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3484, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003255/0.3517, allocations: 1.478 MB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000679/0.3524, allocations: 291.1 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.3524, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.3525, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.3526, allocations: 7.922 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.353, allocations: 51.81 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.3531, allocations: 19.94 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3532, allocations: 4 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.3532, allocations: 19.97 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.3533, allocations: 7.922 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3533, allocations: 4 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3535, allocations: 95.78 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3535, allocations: 0 / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.3536, allocations: 11.94 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.3537, allocations: 52.16 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3538, allocations: 0 / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3538, allocations: 0 / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3538, allocations: 0 / 1.055 GB, free: 6.285 MB / 0.8106 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.0005726/0.3544, allocations: 351.5 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3544, allocations: 8.031 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.3545, allocations: 8.844 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3546, allocations: 168.3 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3546, allocations: 384 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3547, allocations: 384 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3549, allocations: 50.23 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3549, allocations: 8.062 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3549, allocations: 11.92 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3549, allocations: 4 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3551, allocations: 31.95 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.3555, allocations: 241 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3556, allocations: 42.5 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.3557, allocations: 28.89 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3558, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3558, allocations: 34.5 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3558, allocations: 0 / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003823/0.3562, allocations: 85.73 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3562, allocations: 51.41 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.3563, allocations: 93.86 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3564, allocations: 29.7 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.3564, allocations: 88.12 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3564, allocations: 3.906 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.3565, allocations: 13.72 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3566, allocations: 314.8 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.3567, allocations: 16.02 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.3568, allocations: 27.91 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3569, allocations: 32.83 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.357, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.3572, allocations: 77.56 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3572, allocations: 4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3572, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3572, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.3573, allocations: 7.984 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3573, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.3574, allocations: 4 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3574, allocations: 0 / 1.056 GB, free: 4.254 MB / 0.8106 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.738e-05/0.3575, allocations: 129.7 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3575, allocations: 0 / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.3578, allocations: 68.72 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3578, allocations: 4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3578, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3578, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.358, allocations: 157.6 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.358, allocations: 3.938 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.358, allocations: 16.02 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.358, allocations: 4 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3581, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3581, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3581, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3583, allocations: 171.4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.3584, allocations: 77.11 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3584, allocations: 3.984 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.3585, allocations: 4 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.3585, allocations: 4 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.3585, allocations: 3.984 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.3586, allocations: 83.28 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3586, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002384/0.3588, allocations: 19.84 kB / 1.057 GB, free: 3.422 MB / 0.8106 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.0001855/0.359, allocations: 111.3 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3592, allocations: 31.97 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3593, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.3594, allocations: 27.91 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3596, allocations: 8.266 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.36, allocations: 146.2 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3602, allocations: 0.677 MB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.3602, allocations: 7.438 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.3602, allocations: 4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Templates: time 0.002224/0.3625, allocations: 0.6806 MB / 1.059 GB, free: 1.668 MB / 0.8106 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