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.001843/0.001843, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002254/0.002254, allocations: 156.2 kB / 23.01 MB, free: 4.602 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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 2.888/2.888, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 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.003168/0.003168, allocations: 67.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.096, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002867/1.098, allocations: 1.96 MB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001149/1.1, allocations: 0.7118 MB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/1.1, allocations: 2.562 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/1.1, allocations: 22.41 kB / 1.157 GB, free: 31.49 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/1.1, allocations: 28.39 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/1.1, allocations: 97.7 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000153/1.1, allocations: 152.6 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/1.101, allocations: 61.42 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/1.101, allocations: 57.81 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/1.101, allocations: 72.52 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/1.101, allocations: 15.53 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/1.101, allocations: 66.42 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/1.101, allocations: 63.69 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/1.101, allocations: 84.14 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/1.101, allocations: 275 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.101, allocations: 0 / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.034e-06/1.101, allocations: 0 / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.101, allocations: 0 / 1.157 GB, free: 31.04 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.0006667/1.102, allocations: 482.1 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/1.102, allocations: 10.12 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/1.104, allocations: 438 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/1.104, allocations: 264.3 kB / 1.159 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/1.104, allocations: 126.8 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/1.104, allocations: 9.219 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/1.105, allocations: 382.2 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.105, allocations: 3.328 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/1.105, allocations: 6.688 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.105, allocations: 2.531 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.106, allocations: 0.5436 MB / 1.16 GB, free: 30.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/1.107, allocations: 0.8806 MB / 1.161 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/1.108, allocations: 298 kB / 1.161 GB, free: 29.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/1.108, allocations: 268.5 kB / 1.161 GB, free: 29.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/1.108, allocations: 0 / 1.161 GB, free: 29.49 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/1.108, allocations: 33.22 kB / 1.161 GB, free: 29.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/1.108, allocations: 0 / 1.161 GB, free: 29.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.001685/1.11, allocations: 0.787 MB / 1.162 GB, free: 29.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/1.11, allocations: 64.94 kB / 1.162 GB, free: 29.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/1.11, allocations: 297 kB / 1.162 GB, free: 29.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/1.11, allocations: 29.7 kB / 1.162 GB, free: 29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/1.111, allocations: 147.9 kB / 1.162 GB, free: 28.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/1.111, allocations: 26.02 kB / 1.162 GB, free: 28.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/1.111, allocations: 35.39 kB / 1.162 GB, free: 28.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/1.111, allocations: 331.4 kB / 1.163 GB, free: 28.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/1.111, allocations: 261.8 kB / 1.163 GB, free: 28.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/1.112, allocations: 261.7 kB / 1.163 GB, free: 28.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/1.113, allocations: 440.8 kB / 1.164 GB, free: 28.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.113, allocations: 3.938 kB / 1.164 GB, free: 28.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001066/1.114, allocations: 0.5323 MB / 1.164 GB, free: 28.19 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.114, allocations: 5.25 kB / 1.164 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.114, allocations: 3.938 kB / 1.164 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.114, allocations: 0 / 1.164 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.114, allocations: 91.89 kB / 1.164 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.114, allocations: 0 / 1.164 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/1.114, allocations: 78.27 kB / 1.164 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/1.114, allocations: 9.234 kB / 1.164 GB, free: 28.17 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.0001072/1.115, allocations: 145 kB / 1.165 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/1.115, allocations: 21.64 kB / 1.165 GB, free: 28.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/1.115, allocations: 24.98 kB / 1.165 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/1.115, allocations: 0 / 1.165 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.115, allocations: 2.625 kB / 1.165 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/1.115, allocations: 0 / 1.165 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/1.115, allocations: 340.6 kB / 1.165 GB, free: 27.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.115, allocations: 0 / 1.165 GB, free: 27.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/1.115, allocations: 97.25 kB / 1.165 GB, free: 27.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.115, allocations: 0 / 1.165 GB, free: 27.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/1.115, allocations: 9.234 kB / 1.165 GB, free: 27.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.115, allocations: 3.938 kB / 1.165 GB, free: 27.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.115, allocations: 4 kB / 1.165 GB, free: 27.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.116, allocations: 0.6387 MB / 1.166 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/1.116, allocations: 22.95 kB / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/1.117, allocations: 0 / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/1.117, allocations: 77.94 kB / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/1.117, allocations: 5.891 kB / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/1.117, allocations: 6.172 kB / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001692/1.117, allocations: 217.1 kB / 1.166 GB, free: 27.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.117, allocations: 0 / 1.166 GB, free: 27.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003021/1.117, allocations: 45.39 kB / 1.166 GB, free: 27.41 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.0001389/1.118, allocations: 108.2 kB / 1.166 GB, free: 27.31 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.119, allocations: 0.5264 MB / 1.167 GB, free: 27.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.119, allocations: 4 kB / 1.167 GB, free: 27.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/1.119, allocations: 270.1 kB / 1.167 GB, free: 27.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.119, allocations: 24.92 kB / 1.167 GB, free: 27.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.121, allocations: 0.6014 MB / 1.167 GB, free: 26.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/1.121, allocations: 134.2 kB / 1.168 GB, free: 26.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001686/1.121, allocations: 55.72 kB / 1.168 GB, free: 26.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/1.121, allocations: 31.16 kB / 1.168 GB, free: 26.74 MB / 1.076 GB Notification: Performance of SimCode: time 7.32e-07/1.121, allocations: 0 / 1.168 GB, free: 26.74 MB / 1.076 GB Notification: Performance of Templates: time 0.007207/1.128, allocations: 2.954 MB / 1.171 GB, free: 26.4 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.560082478099503]