Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001407/0.001407, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001722/0.001722, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.465/3.465, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 65.02 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4124, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004762/0.4171, allocations: 1.952 MB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.4189, allocations: 0.7053 MB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.4191, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.4193, allocations: 27.66 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.4194, allocations: 23.75 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.42, allocations: 91.83 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.4203, allocations: 147.6 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.4205, allocations: 68.88 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.4207, allocations: 71.66 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.4209, allocations: 63.67 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.421, allocations: 16 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.4212, allocations: 63.95 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.4213, allocations: 79.69 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.4214, allocations: 71.52 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.4218, allocations: 270.8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4218, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4218, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.4218, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 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.0009985/0.4228, allocations: 485 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4229, allocations: 8.031 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.4248, allocations: 440 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.4254, allocations: 265.6 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.4256, allocations: 119.6 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.4257, allocations: 12.38 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.4266, allocations: 388.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4266, allocations: 3.984 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.4266, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4266, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.4281, allocations: 0.5429 MB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.4299, allocations: 0.8762 MB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.4307, allocations: 290.3 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.4314, allocations: 272.8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.4314, allocations: 4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4315, allocations: 34.55 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.4315, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002274/0.4337, allocations: 0.7861 MB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4338, allocations: 55.41 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.4342, allocations: 297.8 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.4342, allocations: 25.7 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.4343, allocations: 152 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.4344, allocations: 19.8 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.4345, allocations: 41.67 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4347, allocations: 330.8 kB / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.4353, allocations: 255.8 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.436, allocations: 267.8 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.4372, allocations: 444.3 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.4372, allocations: 3.938 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001316/0.4385, allocations: 0.5362 MB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4385, allocations: 4 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4385, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4386, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.439, allocations: 91.83 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.439, allocations: 4 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.4393, allocations: 75.75 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.4393, allocations: 11.98 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001793/0.4395, allocations: 146.2 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.4395, allocations: 19.91 kB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.4396, allocations: 25.7 kB / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4396, allocations: 0 / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4396, allocations: 0 / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4396, allocations: 7.922 kB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.4401, allocations: 355.7 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4401, allocations: 4 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.4405, allocations: 91.83 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4405, allocations: 0 / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.4405, allocations: 7.984 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4405, allocations: 0 / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4405, allocations: 0 / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.4419, allocations: 0.6278 MB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.442, allocations: 31.83 kB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.442, allocations: 0 / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.4424, allocations: 75.86 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.4424, allocations: 4 kB / 1.337 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.4424, allocations: 15.95 kB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004158/0.4429, allocations: 213.2 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4429, allocations: 0 / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003295/0.4432, allocations: 39.89 kB / 1.338 GB, free: 5.203 MB / 1.029 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.0001877/0.4434, allocations: 107.2 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.4449, allocations: 0.5229 MB / 1.338 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.445, allocations: 0 / 1.338 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/0.4456, allocations: 279.6 kB / 1.338 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.4459, allocations: 20.44 kB / 1.338 GB, free: 4.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4474, allocations: 0.5871 MB / 1.339 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.4476, allocations: 136.6 kB / 1.339 GB, free: 3.504 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.4478, allocations: 57.42 kB / 1.339 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.448, allocations: 31.39 kB / 1.339 GB, free: 3.418 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.448, allocations: 3.938 kB / 1.339 GB, free: 3.414 MB / 1.029 GB Notification: Performance of Templates: time 0.008155/0.4561, allocations: 3.117 MB / 1.342 GB, free: 324 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.736131651327014]