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.00166/0.00166, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.00192/0.00192, allocations: 162.9 kB / 23.01 MB, free: 4.949 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.85/2.85, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.00242/0.00242, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9494/0.9518, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003156/0.955, allocations: 1.959 MB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.9563, allocations: 0.7025 MB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.9564, allocations: 2.688 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.9565, allocations: 22.44 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.9566, allocations: 21.39 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.957, allocations: 97.8 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.9572, allocations: 156.7 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.9573, allocations: 56.23 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.9575, allocations: 68.05 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.9576, allocations: 68.53 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.9576, allocations: 14.44 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.9578, allocations: 69.28 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.9579, allocations: 68.45 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.9579, allocations: 68.06 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.9582, allocations: 276.8 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.9583, allocations: 0 / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9583, allocations: 0 / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.9583, allocations: 1.219 kB / 1.19 GB, free: 13.91 MB / 1.076 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.0006844/0.9589, allocations: 475.6 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.959, allocations: 9.891 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.9608, allocations: 436.9 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.9613, allocations: 260.1 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.9614, allocations: 121.5 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.9614, allocations: 12.16 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.9622, allocations: 387.4 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.9622, allocations: 4 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.9622, allocations: 5.312 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.9623, allocations: 3.625 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.9635, allocations: 0.5428 MB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.9651, allocations: 0.8866 MB / 1.193 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.9657, allocations: 296.8 kB / 1.193 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.9663, allocations: 269.4 kB / 1.194 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.9663, allocations: 1.844 kB / 1.194 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.9663, allocations: 36.39 kB / 1.194 GB, free: 12.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.9664, allocations: 0 / 1.194 GB, free: 12.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.001896/0.9682, allocations: 0.7886 MB / 1.195 GB, free: 12.13 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.9683, allocations: 52.78 kB / 1.195 GB, free: 12.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.9686, allocations: 291.6 kB / 1.195 GB, free: 11.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.9686, allocations: 25.7 kB / 1.195 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.9687, allocations: 153.8 kB / 1.195 GB, free: 11.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.9687, allocations: 25.56 kB / 1.195 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.9688, allocations: 39.89 kB / 1.195 GB, free: 11.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.9688, allocations: 339.3 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.9694, allocations: 256.5 kB / 1.196 GB, free: 11.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.97, allocations: 256.2 kB / 1.196 GB, free: 11.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.971, allocations: 445.9 kB / 1.196 GB, free: 11.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.971, allocations: 5.062 kB / 1.196 GB, free: 11.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001291/0.9723, allocations: 0.5304 MB / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.9723, allocations: 6.125 kB / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9723, allocations: 0 / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.9724, allocations: 1.031 kB / 1.197 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.9728, allocations: 100.7 kB / 1.197 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9728, allocations: 0.6562 kB / 1.197 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.9731, allocations: 73.91 kB / 1.197 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.9731, allocations: 8.344 kB / 1.197 GB, free: 11.04 MB / 1.076 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.0001307/0.9733, allocations: 147.3 kB / 1.197 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.9733, allocations: 21.34 kB / 1.197 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.9734, allocations: 24.25 kB / 1.197 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9734, allocations: 2.891 kB / 1.197 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9734, allocations: 0 / 1.197 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9734, allocations: 8.547 kB / 1.197 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.9738, allocations: 351.4 kB / 1.198 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.9738, allocations: 0.9688 kB / 1.198 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.9741, allocations: 89.03 kB / 1.198 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9741, allocations: 4 kB / 1.198 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.9742, allocations: 7.781 kB / 1.198 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9742, allocations: 0.7969 kB / 1.198 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9742, allocations: 1.094 kB / 1.198 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.9755, allocations: 0.6373 MB / 1.198 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.9755, allocations: 26.69 kB / 1.198 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.9756, allocations: 0.9375 kB / 1.198 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.9759, allocations: 73.55 kB / 1.198 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.976, allocations: 9.203 kB / 1.198 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.976, allocations: 12.28 kB / 1.198 GB, free: 10.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002023/0.9762, allocations: 212.2 kB / 1.199 GB, free: 10.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9762, allocations: 0 / 1.199 GB, free: 10.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003234/0.9765, allocations: 42.58 kB / 1.199 GB, free: 10.26 MB / 1.076 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.0001295/0.9767, allocations: 98.45 kB / 1.199 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.9779, allocations: 0.5267 MB / 1.199 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.9779, allocations: 1.219 kB / 1.199 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.9786, allocations: 272 kB / 1.2 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.9789, allocations: 18.06 kB / 1.2 GB, free: 10.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.9801, allocations: 0.5999 MB / 1.2 GB, free: 9.719 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.9802, allocations: 141 kB / 1.2 GB, free: 9.637 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.9804, allocations: 53.22 kB / 1.2 GB, free: 9.621 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.9805, allocations: 30.09 kB / 1.2 GB, free: 9.613 MB / 1.076 GB Notification: Performance of SimCode: time 8.51e-07/0.9805, allocations: 0 / 1.2 GB, free: 9.613 MB / 1.076 GB Notification: Performance of Templates: time 0.006811/0.9873, allocations: 2.936 MB / 1.203 GB, free: 9.277 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.922088479041122]