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.001289/0.001289, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001456/0.001456, allocations: 209.4 kB / 22.99 MB, free: 4.953 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.35/3.35, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.003607/0.003607, allocations: 64.48 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4295, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003903/0.4334, allocations: 1.962 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.4349, allocations: 0.713 MB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.435, allocations: 7.938 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.4352, allocations: 15.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.4352, allocations: 31.72 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.4357, allocations: 95.77 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.4359, allocations: 147.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.4361, allocations: 68.91 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.4363, allocations: 75.69 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.4364, allocations: 67.64 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.4364, allocations: 12 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.4366, allocations: 75.88 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4367, allocations: 71.73 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.4368, allocations: 75.53 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.4372, allocations: 270.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4372, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4372, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4372, allocations: 4 kB / 1.331 GB, free: 13.28 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.001039/0.4382, allocations: 477 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4383, allocations: 12.03 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.4403, allocations: 432 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.4408, allocations: 261.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.4409, allocations: 127.6 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.441, allocations: 12.38 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.4419, allocations: 388 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4419, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.442, allocations: 4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.442, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.4434, allocations: 0.5351 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.4452, allocations: 0.8878 MB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.4459, allocations: 290.3 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/0.4466, allocations: 276.5 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.4466, allocations: 3.938 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4467, allocations: 34.56 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4467, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002086/0.4487, allocations: 0.782 MB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4488, allocations: 55.41 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.4491, allocations: 297.8 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.4492, allocations: 25.7 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4493, allocations: 156.1 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.4493, allocations: 27.8 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.4494, allocations: 33.67 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4496, allocations: 334.8 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.4503, allocations: 259.8 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.4509, allocations: 263.7 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.452, allocations: 436.4 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.452, allocations: 3.938 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00135/0.4534, allocations: 0.5323 MB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4534, allocations: 4 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4534, allocations: 4 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4534, allocations: 4 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.4539, allocations: 87.83 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4539, allocations: 3.938 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.4542, allocations: 83.81 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.4543, allocations: 7.984 kB / 1.338 GB, free: 6.031 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.000184/0.4544, allocations: 142.3 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.4545, allocations: 15.91 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.4545, allocations: 25.7 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.4546, allocations: 4 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4546, allocations: 4 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4546, allocations: 0 / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.4551, allocations: 347.7 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4551, allocations: 4 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.4554, allocations: 95.83 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4555, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4555, allocations: 11.97 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4555, allocations: 0 / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4555, allocations: 0 / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.4569, allocations: 0.6316 MB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.457, allocations: 19.89 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.457, allocations: 4 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.4573, allocations: 75.88 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.4574, allocations: 7.984 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4574, allocations: 15.91 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000237/0.4577, allocations: 213.2 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4577, allocations: 0 / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003558/0.458, allocations: 43.89 kB / 1.339 GB, free: 4.328 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.0001931/0.4582, allocations: 107.2 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.4596, allocations: 0.5196 MB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4596, allocations: 0 / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006852/0.4603, allocations: 275.7 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.4606, allocations: 18.47 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.462, allocations: 0.5987 MB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.4621, allocations: 140.6 kB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.4623, allocations: 49.42 kB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4624, allocations: 31.39 kB / 1.341 GB, free: 2.547 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4624, allocations: 4 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of Templates: time 0.00713/0.4696, allocations: 3.143 MB / 1.344 GB, free: 15.42 MB / 1.045 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 -s cvode -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/jenkins1/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.351290471997345]