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.00134/0.00134, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001575/0.001575, allocations: 209.8 kB / 23 MB, free: 4.977 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.147/3.147, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.00273/0.00273, allocations: 74.33 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.341, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003899/0.3449, allocations: 1.956 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3466, allocations: 0.7169 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3467, allocations: 3.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.3469, allocations: 23.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.347, allocations: 27.73 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3474, allocations: 95.77 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.3477, allocations: 151.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3479, allocations: 64.84 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3481, allocations: 67.77 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3482, allocations: 75.56 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.3483, allocations: 16 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.3484, allocations: 67.95 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3486, allocations: 79.73 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.3486, allocations: 67.53 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.3491, allocations: 274.8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3491, allocations: 4 kB / 1.331 GB, free: 13.29 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.0009343/0.35, allocations: 477 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.35, allocations: 8.031 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.3523, allocations: 440 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.3529, allocations: 257.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.3531, allocations: 123.5 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.3531, allocations: 12.38 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3543, allocations: 384 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3543, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.3544, allocations: 8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3544, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.3558, allocations: 0.5428 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.3576, allocations: 0.8802 MB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.3584, allocations: 298.2 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/0.3592, allocations: 268.6 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3592, allocations: 3.938 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3592, allocations: 34.56 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.3592, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002169/0.3614, allocations: 0.782 MB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3614, allocations: 51.41 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.3618, allocations: 301.8 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.3618, allocations: 25.7 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.3621, allocations: 156 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.3621, allocations: 27.78 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.3622, allocations: 33.69 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3624, allocations: 334.8 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007492/0.3632, allocations: 255.8 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008488/0.364, allocations: 259.8 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.3652, allocations: 440.4 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3652, allocations: 0 / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001426/0.3667, allocations: 0.54 MB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3667, allocations: 4 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3667, allocations: 0 / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3667, allocations: 0 / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.3671, allocations: 103.8 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3672, allocations: 0 / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.3675, allocations: 75.81 kB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3675, allocations: 7.984 kB / 1.338 GB, free: 6.051 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.0001653/0.3677, allocations: 146.3 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.3678, allocations: 19.91 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.3678, allocations: 25.7 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3678, allocations: 0 / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3678, allocations: 0 / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3679, allocations: 23.8 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.3679, allocations: 0 / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.3683, allocations: 79.86 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.3684, allocations: 11.92 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001739/0.3701, allocations: 0.672 MB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001476/0.3716, allocations: 0.7058 MB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006595/0.3722, allocations: 263.8 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000244/0.3725, allocations: 217.2 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/0.3725, allocations: 3.938 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.3737, allocations: 371 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009454/0.3746, allocations: 0.819 MB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of Templates: time 0.009877/0.3845, allocations: 5.314 MB / 1.346 GB, free: 13.34 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 -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: 8.643709064999712]