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.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002046/0.002047, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.605 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 3.002/3.002, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.88 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7651, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003135/0.7683, allocations: 2.053 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.7696, allocations: 0.6826 MB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.7698, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.7699, allocations: 15.86 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.77, allocations: 19.86 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.7703, allocations: 71.88 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.7705, allocations: 139.6 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.7707, allocations: 84.59 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.7709, allocations: 55.72 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.771, allocations: 63.64 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.771, allocations: 8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.7712, allocations: 47.95 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.7713, allocations: 71.73 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.7714, allocations: 91.34 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.7717, allocations: 253.2 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7717, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7717, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7717, allocations: 0 / 1.02 GB, free: 15.27 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.0008633/0.7726, allocations: 0.5297 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7726, allocations: 8.031 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.7744, allocations: 427.9 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.7748, allocations: 311.7 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.7749, allocations: 72.17 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.775, allocations: 12.38 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.7758, allocations: 380.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7759, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.7759, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.7759, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.7772, allocations: 0.5424 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.7789, allocations: 0.9976 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.7796, allocations: 294.3 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.7802, allocations: 276.6 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.7802, allocations: 7.875 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.7803, allocations: 34.56 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.7803, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001989/0.7823, allocations: 0.7819 MB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.7823, allocations: 55.41 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.7826, allocations: 298.7 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.7827, allocations: 25.7 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.7828, allocations: 152.3 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.7828, allocations: 27.62 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.7829, allocations: 37.69 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.783, allocations: 338.8 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.7836, allocations: 251.8 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.7843, allocations: 267.7 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.7854, allocations: 436.4 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7854, allocations: 0 / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001269/0.7867, allocations: 0.536 MB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7867, allocations: 4 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7867, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7867, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.7872, allocations: 99.83 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.7872, allocations: 4.484 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.7875, allocations: 75.86 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.7876, allocations: 7.984 kB / 1.027 GB, free: 7.816 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.0001466/0.7877, allocations: 142.3 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.7878, allocations: 23.72 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.7878, allocations: 25.7 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7878, allocations: 0 / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7878, allocations: 0 / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.7878, allocations: 4 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.7883, allocations: 440.4 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7883, allocations: 0 / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.7887, allocations: 95.83 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7887, allocations: 0 / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.7887, allocations: 7.984 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.7888, allocations: 7.938 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7888, allocations: 0 / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.7901, allocations: 0.6393 MB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.7902, allocations: 96.86 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.7902, allocations: 3.938 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.7906, allocations: 75.86 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.7906, allocations: 7.984 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.7907, allocations: 7.984 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002071/0.7909, allocations: 217.9 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7909, allocations: 4 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003047/0.7912, allocations: 39.91 kB / 1.029 GB, free: 5.906 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.0001806/0.7914, allocations: 99.25 kB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.7927, allocations: 0.5346 MB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7927, allocations: 0 / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.7933, allocations: 271.7 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.7936, allocations: 16.5 kB / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.7949, allocations: 0.6553 MB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.7952, allocations: 0.7553 MB / 1.031 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.7955, allocations: 57.42 kB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.7956, allocations: 27.41 kB / 1.031 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.7956, allocations: 3.938 kB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of Templates: time 0.00624/0.8018, allocations: 2.677 MB / 1.034 GB, free: 0.7617 MB / 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