Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00186/0.00186, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00214/0.00214, allocations: 163.3 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.686/2.686, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002984/0.002984, allocations: 79.83 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3641, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003716/0.3679, allocations: 1.961 MB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3694, allocations: 0.6976 MB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3695, allocations: 11.83 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.3696, allocations: 23.73 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.235e-05/0.3697, allocations: 27.72 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3701, allocations: 95.83 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.3703, allocations: 147.6 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3705, allocations: 57.03 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.3706, allocations: 71.64 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3707, allocations: 67.62 kB / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.3708, allocations: 20 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3709, allocations: 63.92 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.371, allocations: 75.7 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.3711, allocations: 67.53 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.3715, allocations: 278.8 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3715, allocations: 3.938 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3715, allocations: 0 / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3715, allocations: 0 / 1.121 GB, free: 14.85 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.0009863/0.3725, allocations: 485 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3725, allocations: 11.97 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.3743, allocations: 432 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.3748, allocations: 257.7 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.3749, allocations: 123.5 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.375, allocations: 16.38 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.3758, allocations: 383.3 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3758, allocations: 4 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3759, allocations: 4 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3759, allocations: 4 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3771, allocations: 0.5468 MB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.3789, allocations: 0.8768 MB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.3795, allocations: 294.2 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.3802, allocations: 264.6 kB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3802, allocations: 4 kB / 1.125 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3802, allocations: 34.56 kB / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.3802, allocations: 0 / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.001996/0.3822, allocations: 0.79 MB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.3823, allocations: 51.41 kB / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.3826, allocations: 297.8 kB / 1.126 GB, free: 9.867 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3826, allocations: 25.7 kB / 1.126 GB, free: 9.836 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3828, allocations: 152.1 kB / 1.126 GB, free: 9.684 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.3828, allocations: 27.8 kB / 1.126 GB, free: 9.656 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.3829, allocations: 37.67 kB / 1.126 GB, free: 9.613 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.383, allocations: 330.8 kB / 1.126 GB, free: 9.281 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.3837, allocations: 259.7 kB / 1.127 GB, free: 9.027 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.3843, allocations: 263.8 kB / 1.127 GB, free: 8.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.3854, allocations: 440.4 kB / 1.127 GB, free: 8.336 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3854, allocations: 3.938 kB / 1.127 GB, free: 8.332 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001309/0.3867, allocations: 0.5323 MB / 1.128 GB, free: 7.793 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3867, allocations: 7.984 kB / 1.128 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3867, allocations: 0 / 1.128 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3867, allocations: 3.938 kB / 1.128 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.3871, allocations: 99.77 kB / 1.128 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3871, allocations: 4 kB / 1.128 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.3875, allocations: 79.77 kB / 1.128 GB, free: 7.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3875, allocations: 7.984 kB / 1.128 GB, free: 7.594 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.0001731/0.3877, allocations: 145.8 kB / 1.128 GB, free: 7.441 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.3877, allocations: 23.84 kB / 1.128 GB, free: 7.418 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.3878, allocations: 25.77 kB / 1.128 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3878, allocations: 0 / 1.128 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3878, allocations: 0 / 1.128 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3878, allocations: 0 / 1.128 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.3882, allocations: 340.4 kB / 1.128 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3882, allocations: 4 kB / 1.128 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.3886, allocations: 87.83 kB / 1.129 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3886, allocations: 0 / 1.129 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3886, allocations: 7.984 kB / 1.129 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3886, allocations: 4 kB / 1.129 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3886, allocations: 0 / 1.129 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.39, allocations: 0.6278 MB / 1.129 GB, free: 6.289 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.39, allocations: 27.86 kB / 1.129 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3901, allocations: 4 kB / 1.129 GB, free: 6.258 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.3904, allocations: 75.8 kB / 1.129 GB, free: 6.184 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.3905, allocations: 11.95 kB / 1.129 GB, free: 6.172 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.3905, allocations: 7.984 kB / 1.129 GB, free: 6.164 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002304/0.3907, allocations: 221.2 kB / 1.129 GB, free: 5.945 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3907, allocations: 0 / 1.129 GB, free: 5.945 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003166/0.3911, allocations: 39.94 kB / 1.13 GB, free: 5.906 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.0001717/0.3912, allocations: 99.25 kB / 1.13 GB, free: 5.801 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.3926, allocations: 0.5229 MB / 1.13 GB, free: 5.277 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3926, allocations: 0 / 1.13 GB, free: 5.277 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.3932, allocations: 271.7 kB / 1.13 GB, free: 5.012 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3935, allocations: 20.44 kB / 1.13 GB, free: 4.992 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3948, allocations: 0.5947 MB / 1.131 GB, free: 4.367 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3949, allocations: 140.7 kB / 1.131 GB, free: 4.211 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000182/0.3951, allocations: 61.42 kB / 1.131 GB, free: 4.152 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3952, allocations: 28.47 kB / 1.131 GB, free: 4.125 MB / 1.076 GB Notification: Performance of SimCode: time 6.62e-07/0.3952, allocations: 0 / 1.131 GB, free: 4.125 MB / 1.076 GB Notification: Performance of Templates: time 0.006753/0.402, allocations: 2.971 MB / 1.134 GB, free: 1.176 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.563575887004845]