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.001643/0.001643, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001837/0.001837, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7658, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002946/0.7688, allocations: 1.976 MB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.7699, allocations: 0.6973 MB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.77, allocations: 4 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.7701, allocations: 15.8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.762e-05/0.7702, allocations: 23.73 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.7705, allocations: 99.77 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.7707, allocations: 143.6 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.7709, allocations: 80.61 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.694e-05/0.771, allocations: 63.7 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.7711, allocations: 71.62 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.7711, allocations: 16 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.7713, allocations: 59.95 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.7714, allocations: 67.8 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.7715, allocations: 91.36 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.7717, allocations: 266.9 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7718, allocations: 0 / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7718, allocations: 7.938 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7718, allocations: 0 / 1.212 GB, free: 9.941 MB / 0.9356 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.0007118/0.7725, allocations: 0.5315 MB / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.7725, allocations: 12.03 kB / 1.213 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.7743, allocations: 423.8 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.7746, allocations: 315.8 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.7747, allocations: 68.19 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.7748, allocations: 12.38 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008193/0.7756, allocations: 387.2 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.7756, allocations: 0 / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.7756, allocations: 8 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7757, allocations: 0 / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.7769, allocations: 0.5429 MB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.7785, allocations: 0.9937 MB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.7791, allocations: 294.3 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.7797, allocations: 272.8 kB / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.7798, allocations: 3.984 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.7798, allocations: 34.55 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.7798, allocations: 0 / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001894/0.7817, allocations: 0.7935 MB / 1.217 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.7817, allocations: 55.34 kB / 1.217 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.782, allocations: 298.7 kB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.7821, allocations: 25.7 kB / 1.217 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.7822, allocations: 160 kB / 1.217 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.7822, allocations: 15.73 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.7823, allocations: 41.67 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7824, allocations: 338.8 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.783, allocations: 255.8 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.7836, allocations: 255.8 kB / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.7847, allocations: 448.3 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7847, allocations: 0 / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001303/0.786, allocations: 0.536 MB / 1.219 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7861, allocations: 4 kB / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7861, allocations: 0 / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7861, allocations: 0 / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.7865, allocations: 95.83 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7865, allocations: 0 / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.7869, allocations: 79.86 kB / 1.219 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.7869, allocations: 7.984 kB / 1.219 GB, free: 2.473 MB / 0.9356 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.0001295/0.787, allocations: 137.8 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.7871, allocations: 23.72 kB / 1.219 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.7871, allocations: 29.7 kB / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.7871, allocations: 0 / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.7871, allocations: 0 / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.7872, allocations: 104.8 kB / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.7873, allocations: 0 / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.7876, allocations: 75.86 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.7877, allocations: 11.88 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001525/0.7892, allocations: 0.6644 MB / 1.22 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0013/0.7905, allocations: 0.698 MB / 1.221 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005954/0.7911, allocations: 275.8 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000189/0.7913, allocations: 221.9 kB / 1.221 GB, free: 204 kB / 0.9356 GB Notification: Performance of Backend: time 2.81e-07/0.7913, allocations: 0 / 1.221 GB, free: 204 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.7924, allocations: 368.1 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007199/0.7931, allocations: 0.8153 MB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of Templates: time 0.008685/0.8018, allocations: 4.719 MB / 1.227 GB, free: 10.25 MB / 0.9512 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