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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001087/0.001087, allocations: 107.8 kB / 16.42 MB, free: 6.418 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.001118/0.001118, allocations: 192.3 kB / 17.35 MB, free: 5.688 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.625/2.625, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7338, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003169/0.737, allocations: 1.978 MB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.7383, allocations: 0.6858 MB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.7384, allocations: 7.938 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.7386, allocations: 19.8 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.7387, allocations: 27.73 kB / 1.229 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.7391, allocations: 79.84 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.7393, allocations: 151.5 kB / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.7395, allocations: 88.58 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.7396, allocations: 55.78 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.7397, allocations: 71.58 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.7398, allocations: 16 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.7399, allocations: 71.94 kB / 1.23 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.74, allocations: 63.81 kB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.7401, allocations: 95.34 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.7405, allocations: 267.4 kB / 1.23 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7405, allocations: 7.875 kB / 1.23 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7405, allocations: 0 / 1.23 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7405, allocations: 0 / 1.23 GB, free: 9.785 MB / 0.9512 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.0008079/0.7413, allocations: 0.545 MB / 1.23 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.7414, allocations: 12.03 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.7431, allocations: 420 kB / 1.231 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.7435, allocations: 308 kB / 1.231 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.821e-05/0.7436, allocations: 76.17 kB / 1.231 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.7436, allocations: 8.375 kB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/0.7444, allocations: 383.3 kB / 1.232 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.7445, allocations: 4 kB / 1.232 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.7445, allocations: 8 kB / 1.232 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7445, allocations: 0 / 1.232 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.7458, allocations: 0.5467 MB / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.7474, allocations: 1.005 MB / 1.233 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.7481, allocations: 294.2 kB / 1.233 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.7487, allocations: 276.6 kB / 1.234 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.7488, allocations: 0 / 1.234 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.7488, allocations: 30.56 kB / 1.234 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.7488, allocations: 4 kB / 1.234 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0019/0.7507, allocations: 0.782 MB / 1.234 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.7508, allocations: 51.41 kB / 1.235 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.7511, allocations: 298.7 kB / 1.235 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.7511, allocations: 29.7 kB / 1.235 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.7512, allocations: 160.3 kB / 1.235 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.7512, allocations: 27.73 kB / 1.235 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.7513, allocations: 33.69 kB / 1.235 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7514, allocations: 338.8 kB / 1.235 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.752, allocations: 251.8 kB / 1.236 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.7526, allocations: 267.7 kB / 1.236 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.7537, allocations: 440.4 kB / 1.236 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7537, allocations: 0 / 1.236 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00121/0.7549, allocations: 0.5284 MB / 1.237 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7549, allocations: 5.094 kB / 1.237 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7549, allocations: 0 / 1.237 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7549, allocations: 0 / 1.237 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.7553, allocations: 103.8 kB / 1.237 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7554, allocations: 0 / 1.237 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.7557, allocations: 75.81 kB / 1.237 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.7557, allocations: 11.98 kB / 1.237 GB, free: 2.309 MB / 0.9512 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.0001397/0.7559, allocations: 142.3 kB / 1.237 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.7559, allocations: 23.86 kB / 1.237 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.756, allocations: 29.64 kB / 1.237 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.756, allocations: 0 / 1.237 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.756, allocations: 0 / 1.237 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.7561, allocations: 100.9 kB / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.7561, allocations: 0 / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.7565, allocations: 79.86 kB / 1.237 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.7565, allocations: 11.92 kB / 1.237 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001514/0.758, allocations: 0.6721 MB / 1.238 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001278/0.7593, allocations: 0.7059 MB / 1.239 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005825/0.7599, allocations: 267.8 kB / 1.239 GB, free: 240 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001985/0.7601, allocations: 217.9 kB / 1.239 GB, free: 20 kB / 0.9512 GB Notification: Performance of Backend: time 6.31e-07/0.7601, allocations: 0 / 1.239 GB, free: 20 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.7612, allocations: 366.1 kB / 1.24 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0007953/0.762, allocations: 0.8177 MB / 1.24 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Templates: time 0.008497/0.7705, allocations: 4.733 MB / 1.245 GB, free: 10.06 MB / 0.9669 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