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.001743/0.001743, 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.003427/0.003427, allocations: 195.5 kB / 16.54 MB, free: 6.672 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.719/2.719, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 63.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7717, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003382/0.7752, allocations: 1.98 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.7764, allocations: 0.6865 MB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.7766, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.7767, allocations: 19.73 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.337e-05/0.7768, allocations: 23.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.7772, allocations: 91.77 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.7774, allocations: 147.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.7776, allocations: 76.61 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.7777, allocations: 71.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.7778, allocations: 67.69 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.7779, allocations: 15.94 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.778, allocations: 59.89 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.7781, allocations: 75.8 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.7782, allocations: 87.41 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.7785, allocations: 257 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7786, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7786, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7786, 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.0007889/0.7794, allocations: 0.5413 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.7794, allocations: 12.03 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.7812, allocations: 423.8 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.7816, allocations: 315.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.7817, allocations: 72.19 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.7817, allocations: 12.38 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.7825, allocations: 384.5 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7825, allocations: 0 / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.7826, allocations: 8 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7826, allocations: 0 / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.7838, allocations: 0.5502 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.7855, allocations: 0.9938 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.7862, allocations: 298.2 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.7868, allocations: 272.6 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.7868, allocations: 7.984 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.7869, allocations: 34.56 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.7869, allocations: 0 / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001939/0.7888, allocations: 0.7819 MB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.7889, allocations: 51.41 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.7892, allocations: 298.7 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.7892, allocations: 29.7 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.7893, allocations: 148.1 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.7894, allocations: 35.73 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.821e-05/0.7895, allocations: 41.61 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7896, allocations: 334.8 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.7902, allocations: 259.8 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.7908, allocations: 255.8 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.7919, allocations: 444.4 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7919, allocations: 0 / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001259/0.7932, allocations: 0.5243 MB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7932, allocations: 8 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7932, allocations: 4 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.7932, allocations: 0 / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.7937, allocations: 91.77 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.7937, allocations: 0 / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.794, allocations: 75.86 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.794, allocations: 11.98 kB / 1.028 GB, free: 7.371 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.00014/0.7942, allocations: 145.8 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.7942, allocations: 19.72 kB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.7943, allocations: 21.7 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.7943, allocations: 0 / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.7943, allocations: 4 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7943, allocations: 0 / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.7948, allocations: 444.4 kB / 1.029 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.7948, allocations: 3.938 kB / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.7952, allocations: 91.83 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.7952, allocations: 0 / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.7952, allocations: 7.984 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7952, allocations: 0 / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7952, allocations: 0 / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.7966, allocations: 0.6354 MB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.7966, allocations: 104.8 kB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.7967, allocations: 0 / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.797, allocations: 75.86 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.7971, allocations: 4 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.7971, allocations: 19.97 kB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002269/0.7974, allocations: 217.9 kB / 1.03 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7974, allocations: 4 kB / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003217/0.7977, allocations: 35.91 kB / 1.03 GB, free: 5.469 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.0001931/0.7979, allocations: 111.2 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.7992, allocations: 0.5235 MB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7992, allocations: 0 / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.7998, allocations: 283.9 kB / 1.031 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.8001, allocations: 17.78 kB / 1.031 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.8014, allocations: 0.6026 MB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.8018, allocations: 0.7474 MB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.802, allocations: 53.42 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.8021, allocations: 35.39 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8021, allocations: 4 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of Templates: time 0.006099/0.8082, allocations: 2.822 MB / 1.035 GB, free: 224 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=480 -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