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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.008601/0.008601, allocations: 100.6 kB / 15.87 MB, free: 6.324 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.001845/0.001845, allocations: 193.8 kB / 16.79 MB, free: 6.254 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 67.89 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6465, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003663/0.6502, allocations: 2.051 MB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.6516, allocations: 0.6711 MB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.6518, allocations: 4 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.6519, allocations: 15.86 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.6521, allocations: 19.97 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.6524, allocations: 79.86 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.6527, allocations: 139.5 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.6529, allocations: 77.98 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.6531, allocations: 59.72 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.6532, allocations: 71.61 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.6533, allocations: 8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.6534, allocations: 47.95 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.6535, allocations: 67.75 kB / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.6536, allocations: 91.34 kB / 1.021 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.6539, allocations: 193.5 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6539, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6539, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.6539, allocations: 0 / 1.021 GB, free: 15.18 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.0008943/0.6548, allocations: 0.5335 MB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.6549, allocations: 16.03 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.6567, allocations: 419.9 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.6571, allocations: 311.7 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.978e-05/0.6572, allocations: 68.19 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.6573, allocations: 12.38 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/0.6582, allocations: 384.5 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6582, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.6582, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.6583, allocations: 8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.6596, allocations: 0.5385 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.6614, allocations: 1.009 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.6622, allocations: 290.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.6628, allocations: 272.6 kB / 1.025 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.6628, allocations: 8 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6629, allocations: 38.44 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.6629, allocations: 0 / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001923/0.6648, allocations: 0.7896 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.6649, allocations: 51.41 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.6652, allocations: 294.7 kB / 1.026 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.6653, allocations: 29.7 kB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6654, allocations: 156.3 kB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.6655, allocations: 23.66 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.6656, allocations: 33.67 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6657, allocations: 338.8 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.6663, allocations: 259.8 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.6669, allocations: 259.7 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.668, allocations: 440.4 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6681, allocations: 4 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001292/0.6694, allocations: 0.5321 MB / 1.028 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6694, allocations: 4.938 kB / 1.028 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6694, allocations: 0 / 1.028 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6694, allocations: 4 kB / 1.028 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.6698, allocations: 91.83 kB / 1.028 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6699, allocations: 0.5469 kB / 1.028 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.6702, allocations: 79.86 kB / 1.028 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.6703, allocations: 15.92 kB / 1.028 GB, free: 7.711 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.0001555/0.6704, allocations: 142.3 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.6705, allocations: 19.72 kB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.6705, allocations: 21.7 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6705, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6706, allocations: 4 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6706, allocations: 4 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.6711, allocations: 436.4 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6711, allocations: 4 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.6715, allocations: 87.83 kB / 1.029 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6715, allocations: 4 kB / 1.029 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.6715, allocations: 7.984 kB / 1.029 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6715, allocations: 0 / 1.029 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6715, allocations: 3.938 kB / 1.029 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6729, allocations: 0.6354 MB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.673, allocations: 104.8 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.673, allocations: 0 / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.6734, allocations: 75.86 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.6735, allocations: 4 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.6735, allocations: 15.95 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002359/0.6738, allocations: 217.9 kB / 1.03 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6738, allocations: 0 / 1.03 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003186/0.6741, allocations: 35.91 kB / 1.03 GB, free: 5.816 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.000211/0.6743, allocations: 115.2 kB / 1.03 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.6756, allocations: 0.5229 MB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6756, allocations: 0 / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.6763, allocations: 275.7 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.6766, allocations: 25.62 kB / 1.031 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.6779, allocations: 0.6854 MB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.6782, allocations: 0.7438 MB / 1.032 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.6784, allocations: 43.33 kB / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6784, allocations: 0 / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of Templates: time 0.006632/0.685, allocations: 3.663 MB / 1.036 GB, free: 15.69 MB / 0.795 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/jenkins1/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