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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009027/0.009027, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001817/0.001817, allocations: 198.3 kB / 16.68 MB, free: 5.926 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.446/1.446, allocations: 222.9 MB / 240.3 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.8 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.88 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3372, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003496/0.3408, allocations: 1.99 MB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3421, allocations: 0.6779 MB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.3423, allocations: 7.938 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.3424, allocations: 15.8 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3426, allocations: 27.75 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.3429, allocations: 87.83 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3431, allocations: 151.6 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3433, allocations: 80.55 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3434, allocations: 63.77 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3436, allocations: 71.62 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3436, allocations: 16 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3438, allocations: 63.89 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.3439, allocations: 63.83 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.344, allocations: 91.39 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3443, allocations: 267 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3443, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3443, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3443, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 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.0007875/0.3451, allocations: 0.5413 MB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3451, allocations: 8.625 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.3467, allocations: 423.8 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.3472, allocations: 315.8 kB / 1.213 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.3473, allocations: 72.12 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.3474, allocations: 12.38 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.3482, allocations: 383.3 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3482, allocations: 0 / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.3483, allocations: 8 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3483, allocations: 4 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.3495, allocations: 0.5389 MB / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3512, allocations: 1.009 MB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.3518, allocations: 298.2 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/0.3524, allocations: 276.6 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3525, allocations: 0 / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3525, allocations: 34.55 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.3525, allocations: 4 kB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.001879/0.3544, allocations: 0.7821 MB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3544, allocations: 51.41 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.3548, allocations: 294.6 kB / 1.216 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3548, allocations: 37.69 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.3549, allocations: 152.1 kB / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.3549, allocations: 23.66 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/0.355, allocations: 33.67 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3552, allocations: 338.8 kB / 1.217 GB, free: 164 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.3558, allocations: 259.8 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.3563, allocations: 256.1 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3574, allocations: 448.5 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3574, allocations: 4 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001247/0.3587, allocations: 0.5244 MB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3587, allocations: 4 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3587, allocations: 7.938 kB / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3587, allocations: 0 / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.3591, allocations: 95.77 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3591, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.3594, allocations: 79.77 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.3594, allocations: 7.984 kB / 1.218 GB, free: 14.49 MB / 0.9825 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.000139/0.3596, allocations: 145.8 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.3597, allocations: 15.81 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.3597, allocations: 25.7 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3597, allocations: 0 / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3597, allocations: 0 / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3597, allocations: 4 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.3602, allocations: 440.3 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3602, allocations: 0 / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.3606, allocations: 91.83 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3606, allocations: 3.938 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3606, allocations: 15.97 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3606, allocations: 0 / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3606, allocations: 3.938 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3619, allocations: 0.6277 MB / 1.22 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.362, allocations: 104.8 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.362, allocations: 4 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.3623, allocations: 67.88 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.3624, allocations: 11.98 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3624, allocations: 3.984 kB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001933/0.3626, allocations: 225.9 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3626, allocations: 0 / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003043/0.3629, allocations: 39.84 kB / 1.22 GB, free: 12.59 MB / 0.9825 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.0001649/0.3631, allocations: 107.2 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.3644, allocations: 0.5229 MB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3644, allocations: 0 / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/0.365, allocations: 275.7 kB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3653, allocations: 16.5 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3665, allocations: 0.5989 MB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.3668, allocations: 0.7474 MB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000179/0.367, allocations: 53.42 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3671, allocations: 31.39 kB / 1.222 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3671, allocations: 0 / 1.222 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of Templates: time 0.005939/0.373, allocations: 2.914 MB / 1.225 GB, free: 7.281 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches