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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001575/0.001575, allocations: 108 kB / 15.61 MB, free: 152 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.001903/0.001903, allocations: 194.5 kB / 16.53 MB, free: 6.699 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 / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.7 MB / 0.7452 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 64.05 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2774, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00272/0.2802, allocations: 1.414 MB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005476/0.2807, allocations: 295 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.2808, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.2808, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.2809, allocations: 3.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.2812, allocations: 59.73 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.2813, allocations: 19.94 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.2814, allocations: 7.984 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.2815, allocations: 19.92 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.2815, allocations: 11.98 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2815, allocations: 4 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.2817, allocations: 83.84 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.2817, allocations: 4 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.2818, allocations: 7.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.2819, allocations: 76 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2819, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.282, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.282, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 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.0004298/0.2824, allocations: 347.5 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2824, allocations: 12.03 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.2825, allocations: 0.9375 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2826, allocations: 164.3 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2826, allocations: 4.375 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2826, allocations: 4.375 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.2828, allocations: 50.23 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2828, allocations: 192 / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2828, allocations: 7.938 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2829, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.283, allocations: 39.89 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.2834, allocations: 240.9 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2835, allocations: 46.53 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.2836, allocations: 16.91 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2837, allocations: 3.984 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2837, allocations: 46.5 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2837, allocations: 3.938 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003624/0.2841, allocations: 81.64 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2841, allocations: 55.41 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.2842, allocations: 101.8 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2842, allocations: 25.7 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.2843, allocations: 80.14 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.2843, allocations: 7.906 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2843, allocations: 13.72 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2844, allocations: 314.8 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.2845, allocations: 28 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.2846, allocations: 11.98 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.2848, allocations: 40.77 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2848, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.285, allocations: 73.66 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.285, allocations: 8 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.285, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.285, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.2851, allocations: 7.984 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2852, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.2852, allocations: 7.984 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2852, allocations: 4 kB / 1.072 GB, free: 6.352 MB / 0.8262 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.795e-05/0.2853, allocations: 115.3 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.2853, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.2856, allocations: 76.72 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2856, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2856, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2856, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.2858, allocations: 161.6 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2858, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.2858, allocations: 12.03 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2858, allocations: 0 / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.2859, allocations: 3.984 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2859, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2859, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2861, allocations: 175.3 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.2862, allocations: 77.11 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.2862, allocations: 7.938 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.2863, allocations: 4 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.2863, allocations: 3.984 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2863, allocations: 0 / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.2864, allocations: 83.28 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2864, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002354/0.2866, allocations: 15.94 kB / 1.073 GB, free: 5.531 MB / 0.8262 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.0001584/0.2868, allocations: 115.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.287, allocations: 39.95 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.287, allocations: 3.938 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.2871, allocations: 23.92 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.2874, allocations: 3.938 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.2877, allocations: 122.7 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2879, allocations: 0.6768 MB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.2879, allocations: 0 / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.288, allocations: 11.44 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.288, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of Templates: time 0.0027/0.2907, allocations: 0.5996 MB / 1.074 GB, free: 3.875 MB / 0.8262 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