Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.001686/0.001686, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001909/0.001909, allocations: 193.3 kB / 17.31 MB, free: 5.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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.8 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2737, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002467/0.2762, allocations: 1.408 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000494/0.2767, allocations: 287.1 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.2767, allocations: 4 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.2768, allocations: 3.984 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.2769, allocations: 3.938 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2771, allocations: 55.75 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.2772, allocations: 27.91 kB / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.2773, allocations: 8 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.2773, allocations: 15.86 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.2774, allocations: 8 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2774, allocations: 0 / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2776, allocations: 91.84 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2776, allocations: 11.92 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.2776, allocations: 4 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2778, allocations: 67.8 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2778, allocations: 4 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2778, allocations: 0 / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2778, allocations: 0 / 1.021 GB, free: 7.836 MB / 0.795 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.000426/0.2783, allocations: 347.5 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2783, allocations: 8.031 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.2783, allocations: 12.83 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2785, allocations: 168.3 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2785, allocations: 384 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2785, allocations: 12.25 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2787, allocations: 50.23 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2787, allocations: 192 / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2787, allocations: 3.938 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2787, allocations: 4 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.2789, allocations: 27.97 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.2792, allocations: 249 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.2793, allocations: 42.44 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.2794, allocations: 34.42 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2794, allocations: 0 / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2794, allocations: 30.56 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2794, allocations: 4 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003119/0.2798, allocations: 85.58 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2798, allocations: 51.41 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.2799, allocations: 93.86 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2799, allocations: 25.7 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.2799, allocations: 92.12 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.28, allocations: 12.02 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.28, allocations: 13.72 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.2801, allocations: 314.8 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.2802, allocations: 11.98 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.2803, allocations: 15.98 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2804, allocations: 44.88 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2804, allocations: 0 / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.2806, allocations: 77.44 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2806, allocations: 4 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2806, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2806, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.2807, allocations: 8 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2807, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.2808, allocations: 12.02 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2808, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 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 6.56e-05/0.2809, allocations: 117.8 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2809, allocations: 0 / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.2811, allocations: 68.77 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2811, allocations: 7.938 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2811, allocations: 7.969 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2811, allocations: 3.938 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.2813, allocations: 157.6 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2813, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.2814, allocations: 7.984 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.2814, allocations: 4.188 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.2814, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2814, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2814, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.2816, allocations: 171.4 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.2817, allocations: 77.11 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2817, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.2818, allocations: 7.984 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2818, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2818, allocations: 4 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.2818, allocations: 87.3 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2818, allocations: 3.938 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002298/0.2821, allocations: 15.84 kB / 1.023 GB, free: 4.961 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.0001563/0.2822, allocations: 111.2 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2824, allocations: 31.97 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2825, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.2825, allocations: 24.05 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.2828, allocations: 15.92 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.2831, allocations: 111.2 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2833, allocations: 0.6729 MB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.2833, allocations: 0 / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.2834, allocations: 11.44 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.2834, allocations: 4.062 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of Templates: time 0.002646/0.286, allocations: 0.5923 MB / 1.025 GB, free: 3.336 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches