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.000931/0.0009308, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.008498/0.008498, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 443.3 MB / 0.7175 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 10.88 kB / 0.8796 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3639, allocations: 155.2 MB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00172/0.3657, allocations: 1.136 MB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.3663, allocations: 275.7 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.3664, allocations: 11.88 kB / 1.032 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.3664, allocations: 4 kB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.3665, allocations: 7.922 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3667, allocations: 51.81 kB / 1.033 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.3668, allocations: 19.94 kB / 1.033 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.3669, allocations: 4 kB / 1.033 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.367, allocations: 7.984 kB / 1.033 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.367, allocations: 15.92 kB / 1.033 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.367, allocations: 3.984 kB / 1.033 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.3673, allocations: 99.78 kB / 1.033 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.3673, allocations: 0 / 1.033 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.3673, allocations: 37.64 kB / 1.033 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3675, allocations: 72 kB / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3675, allocations: 0 / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3675, allocations: 0 / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3675, allocations: 0 / 1.033 GB, free: 2.656 MB / 0.7794 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.0005497/0.3681, allocations: 355.4 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3681, allocations: 12.03 kB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.3682, allocations: 0.9375 kB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3683, allocations: 168.3 kB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3683, allocations: 384 / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3684, allocations: 8.375 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3686, allocations: 50.23 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3686, allocations: 192 / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3686, allocations: 11.94 kB / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3686, allocations: 0 / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3688, allocations: 47.89 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.3691, allocations: 244.9 kB / 1.034 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3693, allocations: 50.53 kB / 1.034 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.3694, allocations: 20.91 kB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3694, allocations: 0 / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3695, allocations: 46.5 kB / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3695, allocations: 0 / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003807/0.3699, allocations: 93.73 kB / 1.034 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3699, allocations: 51.41 kB / 1.034 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.37, allocations: 105.8 kB / 1.034 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.37, allocations: 25.7 kB / 1.034 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3701, allocations: 80.14 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.3701, allocations: 7.906 kB / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.3701, allocations: 9.719 kB / 1.034 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3702, allocations: 314.8 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.3703, allocations: 28 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.3704, allocations: 27.86 kB / 1.034 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3706, allocations: 52.83 kB / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3706, allocations: 0 / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.3708, allocations: 81.59 kB / 1.035 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3709, allocations: 4 kB / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3709, allocations: 0 / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3709, allocations: 4 kB / 1.035 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.371, allocations: 11.98 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.371, allocations: 0 / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.3711, allocations: 11.98 kB / 1.035 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3711, allocations: 0 / 1.035 GB, free: 0.543 MB / 0.7794 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.78e-05/0.3712, allocations: 123.3 kB / 1.035 GB, free: 424 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3712, allocations: 3.906 kB / 1.035 GB, free: 420 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.3715, allocations: 88.72 kB / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3715, allocations: 4.031 kB / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3715, allocations: 0 / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3715, allocations: 0 / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3717, allocations: 169.5 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3717, allocations: 0 / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.3717, allocations: 8 kB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3717, allocations: 0 / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3717, allocations: 0 / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3718, allocations: 3.984 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3718, allocations: 0 / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.372, allocations: 179.4 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3721, allocations: 81.28 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3721, allocations: 4.031 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.3722, allocations: 8 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.3723, allocations: 7.969 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.3723, allocations: 0 / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.967e-05/0.3723, allocations: 79.28 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3723, allocations: 0 / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002385/0.3726, allocations: 8 kB / 1.035 GB, free: 15.69 MB / 0.795 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.0002085/0.3728, allocations: 119.2 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.373, allocations: 47.95 kB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.373, allocations: 3.938 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.3731, allocations: 27.98 kB / 1.036 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3735, allocations: 15.88 kB / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.3738, allocations: 124.5 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3741, allocations: 0.677 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.3742, allocations: 4.062 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3742, allocations: 7.438 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.3742, allocations: 4 kB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of Templates: time 0.003158/0.3774, allocations: 0.52 MB / 1.037 GB, free: 14.09 MB / 0.795 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches