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.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.0009203/0.0009203, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.002017, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007424/0.0007424, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001776, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.108, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.464/2.464, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2423/2.706, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.253e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002782/0.002804, allocations: 1.528 MB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000456/0.00326, allocations: 287 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.003287, allocations: 0 / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.003311, allocations: 0 / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.526e-05/0.003346, allocations: 7.875 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.003576, allocations: 59.69 kB / 0.8207 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.06e-05/0.003657, allocations: 31.91 kB / 0.8208 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.003736, allocations: 0 / 0.8208 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.003817, allocations: 19.92 kB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.00387, allocations: 7.984 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.003885, allocations: 4 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.004081, allocations: 83.8 kB / 0.8209 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.004098, allocations: 4 kB / 0.8209 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.004115, allocations: 4 kB / 0.8209 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004282, allocations: 67.69 kB / 0.8209 GB, free: 412 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.004295, allocations: 0 / 0.8209 GB, free: 412 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004296, allocations: 4 kB / 0.821 GB, free: 408 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.004312, allocations: 0 / 0.821 GB, free: 408 kB / 0.7917 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.0004221/0.004734, allocations: 248.5 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004772, allocations: 8.031 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.004811, allocations: 12.92 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.004927, allocations: 105.8 kB / 0.8213 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004937, allocations: 4.375 kB / 0.8213 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004947, allocations: 384 / 0.8213 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.005082, allocations: 50.95 kB / 0.8214 GB, free: 15.92 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.00509, allocations: 192 / 0.8214 GB, free: 15.92 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005098, allocations: 4.375 kB / 0.8214 GB, free: 15.91 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005105, allocations: 384 / 0.8214 GB, free: 15.91 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.199e-05/0.005137, allocations: 15.86 kB / 0.8214 GB, free: 15.9 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.005428, allocations: 140.3 kB / 0.8215 GB, free: 15.75 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 7.831e-05/0.005507, allocations: 26.61 kB / 0.8215 GB, free: 15.71 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.005528, allocations: 12.92 kB / 0.8216 GB, free: 15.7 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.005551, allocations: 0 / 0.8216 GB, free: 15.7 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.005581, allocations: 30.56 kB / 0.8216 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.005583, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.005738, allocations: 49.62 kB / 0.8216 GB, free: 15.6 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.005782, allocations: 55.34 kB / 0.8217 GB, free: 15.54 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.005867, allocations: 106.7 kB / 0.8218 GB, free: 15.42 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.005883, allocations: 25.7 kB / 0.8218 GB, free: 15.39 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.005926, allocations: 80.14 kB / 0.8219 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.00595, allocations: 3.953 kB / 0.8219 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.005992, allocations: 17.7 kB / 0.8219 GB, free: 15.28 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.006121, allocations: 314.8 kB / 0.8222 GB, free: 14.96 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.006135, allocations: 4 kB / 0.8222 GB, free: 14.96 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.006147, allocations: 0 / 0.8222 GB, free: 14.96 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.006188, allocations: 20.97 kB / 0.8222 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.006191, allocations: 3.938 kB / 0.8222 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.687e-05/0.006268, allocations: 37.7 kB / 0.8223 GB, free: 14.89 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.006286, allocations: 4 kB / 0.8223 GB, free: 14.88 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/0.006295, allocations: 0 / 0.8223 GB, free: 14.88 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.006316, allocations: 4 kB / 0.8223 GB, free: 14.88 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.006429, allocations: 11.92 kB / 0.8223 GB, free: 14.87 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006433, allocations: 0 / 0.8223 GB, free: 14.87 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.00646, allocations: 11.94 kB / 0.8223 GB, free: 14.86 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.006465, allocations: 0 / 0.8223 GB, free: 14.86 MB / 0.8074 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.125e-05/0.006546, allocations: 109.9 kB / 0.8224 GB, free: 14.74 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.006568, allocations: 4 kB / 0.8224 GB, free: 14.73 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.006681, allocations: 40.94 kB / 0.8224 GB, free: 14.69 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006684, allocations: 192 / 0.8224 GB, free: 14.69 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.006688, allocations: 3.938 kB / 0.8225 GB, free: 14.69 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.006695, allocations: 7.969 kB / 0.8225 GB, free: 14.68 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.006833, allocations: 65.91 kB / 0.8225 GB, free: 14.6 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.006838, allocations: 4 kB / 0.8225 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.006894, allocations: 4 kB / 0.8225 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.006909, allocations: 7.969 kB / 0.8225 GB, free: 14.58 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.006913, allocations: 4 kB / 0.8225 GB, free: 14.58 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.00692, allocations: 0 / 0.8225 GB, free: 14.58 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.006925, allocations: 4 kB / 0.8225 GB, free: 14.57 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.00693, allocations: 3.938 kB / 0.8226 GB, free: 14.57 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.007058, allocations: 135.5 kB / 0.8227 GB, free: 14.42 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.007071, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.007139, allocations: 4 kB / 0.8227 GB, free: 14.42 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.00718, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.007184, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 2.572e-05/0.00721, allocations: 20.78 kB / 0.8227 GB, free: 14.39 MB / 0.8074 GB Notification: Performance of sort global known variables: time 9e-08/0.00721, allocations: 4.031 kB / 0.8227 GB, free: 14.39 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0002252/0.007435, allocations: 8 kB / 0.8227 GB, free: 14.38 MB / 0.8074 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.0001996/0.007635, allocations: 92.34 kB / 0.8228 GB, free: 14.28 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.007717, allocations: 20.8 kB / 0.8228 GB, free: 14.26 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.007722, allocations: 0 / 0.8228 GB, free: 14.26 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.007747, allocations: 8.859 kB / 0.8228 GB, free: 14.25 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.007957, allocations: 35.56 kB / 0.8229 GB, free: 14.21 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.008842, allocations: 132.5 kB / 0.823 GB, free: 14.05 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.00888, allocations: 51.36 kB / 0.823 GB, free: 13.98 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.008905, allocations: 7.984 kB / 0.823 GB, free: 13.97 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.008955, allocations: 51.38 kB / 0.8231 GB, free: 13.92 MB / 0.8074 GB Notification: Performance of SimCode: time 5.51e-07/0.008955, allocations: 0 / 0.8231 GB, free: 13.92 MB / 0.8074 GB Notification: Performance of Templates: time 0.003155/0.01211, allocations: 0.6156 MB / 0.8237 GB, free: 13.31 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.251895044930279]