Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.000752/0.000752, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001828, 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.0006742/0.0006742, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009385/0.001613, 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 0.9069/0.9069, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09273/0.9996, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.335/2.335, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2267/2.562, allocations: 146 MB / 0.8176 GB, free: 3.848 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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.677e-05, allocations: 5.266 kB / 0.819 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003238/0.003254, allocations: 2.073 MB / 0.821 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004686, allocations: 0.7399 MB / 0.8217 GB, free: 15.65 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.004806, allocations: 4 kB / 0.8217 GB, free: 15.65 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.004902, allocations: 19.73 kB / 0.8217 GB, free: 15.63 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.00499, allocations: 23.75 kB / 0.8217 GB, free: 15.61 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.005312, allocations: 99.73 kB / 0.8218 GB, free: 15.51 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.005505, allocations: 147.6 kB / 0.822 GB, free: 15.36 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.00567, allocations: 62.27 kB / 0.822 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.005907, allocations: 122.7 kB / 0.8222 GB, free: 15.18 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.005997, allocations: 47.88 kB / 0.8222 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.006027, allocations: 15.94 kB / 0.8222 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.006199, allocations: 71.88 kB / 0.8223 GB, free: 15.05 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.006293, allocations: 51.84 kB / 0.8223 GB, free: 15 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.006346, allocations: 43.81 kB / 0.8224 GB, free: 14.96 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.006626, allocations: 167.3 kB / 0.8225 GB, free: 14.79 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.006639, allocations: 4 kB / 0.8225 GB, free: 14.79 MB / 0.8074 GB Notification: Performance of FrontEnd: time 8.32e-07/0.006639, allocations: 0 / 0.8225 GB, free: 14.79 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.006654, allocations: 3.938 kB / 0.8225 GB, free: 14.79 MB / 0.8074 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007142/0.007369, allocations: 499.2 kB / 0.823 GB, free: 14.27 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.007405, allocations: 8.031 kB / 0.823 GB, free: 14.26 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.008315, allocations: 433.4 kB / 0.8234 GB, free: 13.82 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.008612, allocations: 228.7 kB / 0.8237 GB, free: 13.57 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.008739, allocations: 131.6 kB / 0.8238 GB, free: 13.42 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.008772, allocations: 12.38 kB / 0.8238 GB, free: 13.41 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.009223, allocations: 290.8 kB / 0.8241 GB, free: 13.12 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.009233, allocations: 0 / 0.8241 GB, free: 13.12 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.009254, allocations: 8 kB / 0.8241 GB, free: 13.11 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.009262, allocations: 4 kB / 0.8241 GB, free: 13.11 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.009508, allocations: 188.6 kB / 0.8243 GB, free: 12.92 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01058, allocations: 0.7112 MB / 0.825 GB, free: 12.2 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.01086, allocations: 170.4 kB / 0.8251 GB, free: 12.02 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.01106, allocations: 100.8 kB / 0.8252 GB, free: 11.92 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.01108, allocations: 11.92 kB / 0.8252 GB, free: 11.91 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.01111, allocations: 34.56 kB / 0.8253 GB, free: 11.86 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.01111, allocations: 4 kB / 0.8253 GB, free: 11.86 MB / 0.8074 GB Notification: Performance of matching and sorting (n=7): time 0.0004425/0.01155, allocations: 289.7 kB / 0.8255 GB, free: 11.57 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.01158, allocations: 55.34 kB / 0.8256 GB, free: 11.5 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.01177, allocations: 237.1 kB / 0.8258 GB, free: 11.26 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.01179, allocations: 25.7 kB / 0.8258 GB, free: 11.23 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.01186, allocations: 132.3 kB / 0.826 GB, free: 11.09 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.01189, allocations: 23.84 kB / 0.826 GB, free: 11.07 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/0.01199, allocations: 69.61 kB / 0.8261 GB, free: 11 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.01208, allocations: 334.8 kB / 0.8264 GB, free: 10.66 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.01223, allocations: 123.9 kB / 0.8265 GB, free: 10.54 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.01238, allocations: 137.6 kB / 0.8266 GB, free: 10.4 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.01263, allocations: 209.5 kB / 0.8268 GB, free: 10.19 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01263, allocations: 4 kB / 0.8268 GB, free: 10.18 MB / 0.8074 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004646/0.0131, allocations: 269.3 kB / 0.8271 GB, free: 9.914 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.01311, allocations: 8 kB / 0.8271 GB, free: 9.906 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01312, allocations: 0 / 0.8271 GB, free: 9.906 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01313, allocations: 0 / 0.8271 GB, free: 9.906 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.01344, allocations: 159.7 kB / 0.8273 GB, free: 9.75 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.01344, allocations: 0 / 0.8273 GB, free: 9.75 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.01358, allocations: 71.8 kB / 0.8273 GB, free: 9.68 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.01372, allocations: 143.7 kB / 0.8275 GB, free: 9.539 MB / 0.8074 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.354e-05/0.01381, allocations: 112.7 kB / 0.8276 GB, free: 9.418 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.01387, allocations: 19.92 kB / 0.8276 GB, free: 9.398 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.0139, allocations: 21.77 kB / 0.8276 GB, free: 9.375 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0139, allocations: 0 / 0.8276 GB, free: 9.375 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01391, allocations: 4 kB / 0.8276 GB, free: 9.371 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01391, allocations: 3.938 kB / 0.8276 GB, free: 9.367 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.01423, allocations: 257.7 kB / 0.8279 GB, free: 9.098 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01423, allocations: 4 kB / 0.8279 GB, free: 9.094 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.0145, allocations: 155.7 kB / 0.828 GB, free: 8.941 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.01452, allocations: 19.86 kB / 0.828 GB, free: 8.922 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01453, allocations: 3.938 kB / 0.828 GB, free: 8.918 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.01455, allocations: 23.95 kB / 0.8281 GB, free: 8.895 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01456, allocations: 0 / 0.8281 GB, free: 8.895 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01456, allocations: 0 / 0.8281 GB, free: 8.895 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.01493, allocations: 359.2 kB / 0.8284 GB, free: 8.527 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.01496, allocations: 11.94 kB / 0.8284 GB, free: 8.516 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.01512, allocations: 63.84 kB / 0.8285 GB, free: 8.453 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.01516, allocations: 7.984 kB / 0.8285 GB, free: 8.445 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.01529, allocations: 135.8 kB / 0.8286 GB, free: 8.312 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 8.752e-05/0.01537, allocations: 82.77 kB / 0.8287 GB, free: 8.23 MB / 0.8074 GB Notification: Performance of sort global known variables: time 7e-08/0.01537, allocations: 0 / 0.8287 GB, free: 8.23 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0002737/0.01565, allocations: 43.89 kB / 0.8287 GB, free: 8.188 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: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001348/0.01578, allocations: 92.33 kB / 0.8288 GB, free: 8.09 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.01614, allocations: 280.5 kB / 0.8291 GB, free: 7.812 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.01615, allocations: 7.984 kB / 0.8291 GB, free: 7.805 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.01634, allocations: 156.7 kB / 0.8292 GB, free: 7.648 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.01663, allocations: 119 kB / 0.8294 GB, free: 7.523 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.01782, allocations: 468.1 kB / 0.8298 GB, free: 7.039 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.191e-05/0.01789, allocations: 83.81 kB / 0.8299 GB, free: 6.938 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.0004366/0.01832, allocations: 380.8 kB / 0.8302 GB, free: 6.566 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.01852, allocations: 115.3 kB / 0.8304 GB, free: 6.453 MB / 0.8074 GB Notification: Performance of SimCode: time 6.51e-07/0.01852, allocations: 0 / 0.8304 GB, free: 6.453 MB / 0.8074 GB Notification: Performance of Templates: time 0.00663/0.02515, allocations: 3.466 MB / 0.8337 GB, free: 3.027 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.128308996558189]