Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001841/0.001841, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 192.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.891/2.891, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.652, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003511/0.6555, allocations: 1.99 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.6568, allocations: 0.6826 MB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.6569, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.657, allocations: 23.73 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.6571, allocations: 27.75 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.6575, allocations: 87.83 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.6577, allocations: 147.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.6579, allocations: 80.59 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.658, allocations: 59.78 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.6581, allocations: 75.56 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.6582, allocations: 16 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.6583, allocations: 63.94 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.6584, allocations: 63.81 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.627e-05/0.6585, allocations: 99.34 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.6589, allocations: 261 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6589, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6589, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6589, allocations: 0 / 1.021 GB, free: 14.84 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.0008559/0.6598, allocations: 0.5389 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.6598, allocations: 8.031 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.6616, allocations: 427.9 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.662, allocations: 311.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.6621, allocations: 68.19 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.6622, allocations: 12.38 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/0.6631, allocations: 388.4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.6631, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.6631, allocations: 4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.6631, allocations: 4 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.6645, allocations: 0.5434 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.6663, allocations: 1.002 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.667, allocations: 290.3 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.6677, allocations: 276.6 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.6677, allocations: 0 / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.6677, allocations: 34.56 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.6677, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.002058/0.6698, allocations: 0.7857 MB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.6699, allocations: 55.41 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.6702, allocations: 294.7 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.6703, allocations: 29.7 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.6704, allocations: 160.2 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.6704, allocations: 19.66 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.6705, allocations: 37.67 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6707, allocations: 338.8 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.6714, allocations: 259.8 kB / 1.027 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.672, allocations: 259.8 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.6732, allocations: 436.4 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6732, allocations: 0 / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001387/0.6746, allocations: 0.536 MB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6746, allocations: 4 kB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6746, allocations: 0 / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6746, allocations: 0 / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.6751, allocations: 103.8 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.6751, allocations: 0 / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.6754, allocations: 79.86 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.6755, allocations: 7.984 kB / 1.028 GB, free: 7.383 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.6756, allocations: 145.7 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.6757, allocations: 19.72 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.6758, allocations: 25.7 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6758, allocations: 0 / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6758, allocations: 0 / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.6758, allocations: 0 / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.6763, allocations: 444.4 kB / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6763, allocations: 0 / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.6767, allocations: 95.77 kB / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6767, allocations: 0 / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.6768, allocations: 7.984 kB / 1.029 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6768, allocations: 4 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6768, allocations: 0 / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.6783, allocations: 0.6321 MB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.6784, allocations: 104.8 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.6784, allocations: 0 / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.6788, allocations: 75.86 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.6788, allocations: 4 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.6789, allocations: 15.91 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002405/0.6791, allocations: 217.9 kB / 1.03 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.304e-06/0.6791, allocations: 0 / 1.03 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003084/0.6794, allocations: 39.84 kB / 1.03 GB, free: 5.48 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 (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.0001736/0.6796, allocations: 107.2 kB / 1.03 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.681, allocations: 0.5308 MB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.681, allocations: 0 / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.6817, allocations: 279.7 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.682, allocations: 20.5 kB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.6833, allocations: 0.5988 MB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.6837, allocations: 0.7435 MB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.6839, allocations: 57.42 kB / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.684, allocations: 35.39 kB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of SimCode: time 4.4e-07/0.684, allocations: 0 / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of Templates: time 0.008357/0.6924, allocations: 2.828 MB / 1.035 GB, free: 232 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches