Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 166 kB / 24.86 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.94/0.94, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.773/1.773, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.668e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002118/0.002134, allocations: 1.473 MB / 0.7897 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.002611, allocations: 280.9 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.002637, allocations: 4 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.002661, allocations: 0.9062 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.00271, allocations: 3.938 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.002957, allocations: 60.53 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.666e-05/0.003014, allocations: 27.86 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.003083, allocations: 8.547 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.00313, allocations: 12.67 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.003169, allocations: 7.984 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.00318, allocations: 0.9062 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.003333, allocations: 83.8 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.003348, allocations: 4.656 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.003361, allocations: 4 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.003498, allocations: 79.16 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003499, allocations: 0 / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.0035, allocations: 0 / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.003503, allocations: 0 / 0.7903 GB, free: 10.21 MB / 0.7448 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.0003062/0.003809, allocations: 372.5 kB / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.003842, allocations: 8.031 kB / 0.7906 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.003867, allocations: 8.922 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.003944, allocations: 112.6 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003953, allocations: 384 / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.003961, allocations: 4.969 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.00405, allocations: 47.55 kB / 0.7908 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004057, allocations: 192 / 0.7908 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-06/0.004062, allocations: 9.969 kB / 0.7908 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.004067, allocations: 384 / 0.7908 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.004088, allocations: 7.922 kB / 0.7908 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.004296, allocations: 232.4 kB / 0.791 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.004341, allocations: 27.84 kB / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.004357, allocations: 15.75 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.004368, allocations: 1.156 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.004389, allocations: 37.33 kB / 0.7911 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/0.004391, allocations: 1.469 kB / 0.7911 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001139/0.004505, allocations: 45.62 kB / 0.7912 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.004535, allocations: 55.41 kB / 0.7912 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.004603, allocations: 161.9 kB / 0.7914 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004614, allocations: 27.3 kB / 0.7914 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.004653, allocations: 126.9 kB / 0.7915 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.004669, allocations: 7.953 kB / 0.7915 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.0047, allocations: 19.36 kB / 0.7915 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.004821, allocations: 0.489 MB / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.004831, allocations: 0 / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.004842, allocations: 9.859 kB / 0.792 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.004866, allocations: 15.69 kB / 0.792 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.004868, allocations: 0 / 0.792 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.611e-05/0.004924, allocations: 34.33 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.004936, allocations: 9.875 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.004939, allocations: 0.7188 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.004948, allocations: 3.938 kB / 0.7921 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.004997, allocations: 9.203 kB / 0.7921 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.004999, allocations: 0 / 0.7921 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.005019, allocations: 4 kB / 0.7921 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.005023, allocations: 0.625 kB / 0.7921 GB, free: 8.145 MB / 0.7448 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.34e-05/0.005086, allocations: 157.6 kB / 0.7923 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.005107, allocations: 7.953 kB / 0.7923 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.005181, allocations: 41.91 kB / 0.7923 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.005187, allocations: 11.94 kB / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005188, allocations: 0.5625 kB / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005191, allocations: 0 / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.005302, allocations: 106.3 kB / 0.7924 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005303, allocations: 0 / 0.7924 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.005329, allocations: 8 kB / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.00533, allocations: 0.625 kB / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.005334, allocations: 0 / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005335, allocations: 1.125 kB / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005336, allocations: 0 / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.537e-05/0.005431, allocations: 193 kB / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.005436, allocations: 0 / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.005446, allocations: 3.984 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.005493, allocations: 8.828 kB / 0.7926 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.005516, allocations: 0 / 0.7926 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.005522, allocations: 14.16 kB / 0.7926 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.005556, allocations: 119.2 kB / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005556, allocations: 0 / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002164/0.005772, allocations: 12 kB / 0.7928 GB, free: 7.418 MB / 0.7448 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.0001135/0.005886, allocations: 113.9 kB / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.782e-05/0.005943, allocations: 19.67 kB / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.81e-07/0.005944, allocations: 0 / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.005962, allocations: 15.62 kB / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.006169, allocations: 0 / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.006507, allocations: 123.8 kB / 0.793 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.006543, allocations: 63.28 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.006559, allocations: 0.5 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.006602, allocations: 70.73 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.006603, allocations: 0.5625 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.002435/0.009038, allocations: 0.7313 MB / 0.7939 GB, free: 6.254 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8821256519295275]