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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.006048/0.006048, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.00135/0.00135, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.794/2.794, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.95 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3444, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003834/0.3483, allocations: 2.035 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3498, allocations: 0.6856 MB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.35, allocations: 0 / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.3501, allocations: 15.86 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3503, allocations: 23.84 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.3507, allocations: 75.88 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3509, allocations: 139.6 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.3511, allocations: 80.61 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3513, allocations: 59.7 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3514, allocations: 67.62 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.3514, allocations: 8 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3516, allocations: 47.95 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3517, allocations: 63.81 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.3518, allocations: 95.28 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3521, allocations: 191.9 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3521, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3521, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3521, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 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.00101/0.3531, allocations: 0.5336 MB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3532, allocations: 15.97 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.355, allocations: 423.9 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.3555, allocations: 311.7 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.77e-05/0.3556, allocations: 68.19 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.3556, allocations: 12.38 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.3565, allocations: 384 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3565, allocations: 0 / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.3566, allocations: 11.98 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3566, allocations: 0 / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3578, allocations: 0.5431 MB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3596, allocations: 1.002 MB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.3603, allocations: 294.3 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.3609, allocations: 268.6 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.361, allocations: 4 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.361, allocations: 42.55 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.361, allocations: 0 / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.001963/0.363, allocations: 0.7859 MB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.363, allocations: 55.41 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.3633, allocations: 298.7 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3634, allocations: 25.7 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3635, allocations: 148.2 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.3635, allocations: 27.59 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3636, allocations: 37.67 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3638, allocations: 334.8 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/0.3644, allocations: 259.8 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.365, allocations: 255.8 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.366, allocations: 456.8 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.366, allocations: 0 / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001221/0.3672, allocations: 0.5321 MB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3673, allocations: 8 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3673, allocations: 0 / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3673, allocations: 0 / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.3677, allocations: 91.83 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3677, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.3681, allocations: 75.86 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.3681, allocations: 11.98 kB / 1.063 GB, free: 13.26 MB / 0.8262 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.0001586/0.3683, allocations: 145.7 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.3683, allocations: 19.72 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.3684, allocations: 21.7 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3684, allocations: 4 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3684, allocations: 0 / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3684, allocations: 0 / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.3689, allocations: 448.3 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3689, allocations: 3.984 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.3693, allocations: 87.78 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3693, allocations: 3.984 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.3693, allocations: 11.98 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3693, allocations: 0 / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3694, allocations: 0 / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3707, allocations: 0.6354 MB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.3707, allocations: 104.9 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.3708, allocations: 0 / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.3711, allocations: 75.86 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3712, allocations: 4 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.3712, allocations: 15.97 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002239/0.3715, allocations: 213.9 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3715, allocations: 0 / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003147/0.3718, allocations: 39.84 kB / 1.065 GB, free: 11.35 MB / 0.8262 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.0001881/0.372, allocations: 107.2 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.3733, allocations: 0.519 MB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3733, allocations: 0 / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006443/0.3739, allocations: 279.7 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3743, allocations: 24.44 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3758, allocations: 0.6842 MB / 1.067 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.3763, allocations: 0.7515 MB / 1.067 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3764, allocations: 35.39 kB / 1.067 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of SimCode: time 6.82e-07/0.3764, allocations: 4 kB / 1.067 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.007195/0.3837, allocations: 3.663 MB / 1.071 GB, free: 5.223 MB / 0.8262 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/jenkins1/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