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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008853, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.544/2.544, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003332, allocations: 15.94 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6365/0.6369, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002001/0.6389, allocations: 1.644 MB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.6399, allocations: 0.6402 MB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.64, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.6401, allocations: 11.86 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.6402, allocations: 31.95 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.6405, allocations: 67.8 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.6406, allocations: 87.83 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.6408, allocations: 59.16 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.884e-05/0.6409, allocations: 47.77 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.641, allocations: 51.7 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.641, allocations: 4 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.6411, allocations: 47.89 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.6412, allocations: 55.81 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.6413, allocations: 53.58 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.6415, allocations: 193.5 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6415, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6415, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6415, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 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.0006792/0.6422, allocations: 0.5024 MB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6422, allocations: 11.98 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.6439, allocations: 430.9 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.6443, allocations: 310.7 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.6444, allocations: 67.62 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.6444, allocations: 15.95 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.6452, allocations: 383.2 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6453, allocations: 8 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.6453, allocations: 4 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.6453, allocations: 7.938 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6465, allocations: 0.5503 MB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.6481, allocations: 1.002 MB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.6488, allocations: 298.3 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.6488, allocations: 8.141 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.6488, allocations: 30.56 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6488, allocations: 7.938 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001828/0.6507, allocations: 0.8014 MB / 1.028 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6507, allocations: 51.41 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.651, allocations: 294.7 kB / 1.028 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.651, allocations: 29.7 kB / 1.028 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.6511, allocations: 148.1 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.6512, allocations: 27.64 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.6512, allocations: 0 / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6513, allocations: 330.8 kB / 1.029 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.6519, allocations: 275.7 kB / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.6525, allocations: 268 kB / 1.029 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.653, allocations: 227.9 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.653, allocations: 0 / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001187/0.6542, allocations: 0.5477 MB / 1.03 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6542, allocations: 4 kB / 1.03 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6542, allocations: 0 / 1.03 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6542, allocations: 0 / 1.03 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.6546, allocations: 95.83 kB / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.6546, allocations: 0 / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.655, allocations: 79.86 kB / 1.03 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.655, allocations: 7.984 kB / 1.03 GB, free: 7.062 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.6551, allocations: 145.8 kB / 1.03 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.6552, allocations: 19.72 kB / 1.03 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.6552, allocations: 21.72 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.6553, allocations: 11.92 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.6553, allocations: 0 / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6553, allocations: 4 kB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.6557, allocations: 432.5 kB / 1.031 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6557, allocations: 0 / 1.031 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.6561, allocations: 95.83 kB / 1.031 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6561, allocations: 4 kB / 1.031 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.6561, allocations: 7.984 kB / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6562, allocations: 0 / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6562, allocations: 0 / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.6574, allocations: 0.6355 MB / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.6575, allocations: 100.8 kB / 1.032 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.6575, allocations: 3.938 kB / 1.032 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.6579, allocations: 83.86 kB / 1.032 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.6579, allocations: 11.92 kB / 1.032 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.658, allocations: 7.984 kB / 1.032 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001896/0.6582, allocations: 217.9 kB / 1.032 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6582, allocations: 0 / 1.032 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003064/0.6585, allocations: 47.94 kB / 1.032 GB, free: 5.148 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.6587, allocations: 103.2 kB / 1.032 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.6599, allocations: 0.5346 MB / 1.033 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6599, allocations: 0 / 1.033 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.6605, allocations: 283.7 kB / 1.033 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.6607, allocations: 13.12 kB / 1.033 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.6619, allocations: 0.6535 MB / 1.034 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.6622, allocations: 0.7555 MB / 1.034 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.6624, allocations: 57.42 kB / 1.034 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.6625, allocations: 23.41 kB / 1.034 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.6625, allocations: 4 kB / 1.034 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.005211/0.6677, allocations: 2.612 MB / 1.037 GB, free: 60 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches