Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001428/0.001428, allocations: 120 kB / 16.81 MB, free: 5.758 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.001409/0.001409, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.453/1.453, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.712/2.712, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 64.56 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.326, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003699/0.3297, allocations: 1.973 MB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3312, allocations: 0.6974 MB / 1.265 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.3314, allocations: 7.938 kB / 1.265 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3315, allocations: 23.73 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3316, allocations: 19.8 kB / 1.265 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.332, allocations: 87.78 kB / 1.265 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.3322, allocations: 147.7 kB / 1.265 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.3324, allocations: 60.61 kB / 1.265 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3326, allocations: 67.66 kB / 1.265 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3327, allocations: 71.67 kB / 1.265 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.3328, allocations: 16 kB / 1.265 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.3329, allocations: 67.88 kB / 1.265 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.333, allocations: 63.77 kB / 1.265 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3331, allocations: 91.41 kB / 1.265 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.3335, allocations: 274.7 kB / 1.266 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3335, allocations: 0 / 1.266 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3335, allocations: 4 kB / 1.266 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3335, allocations: 0 / 1.266 GB, free: 9.246 MB / 0.9825 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.0009793/0.3345, allocations: 0.5489 MB / 1.266 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3345, allocations: 11.97 kB / 1.266 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.3364, allocations: 420 kB / 1.267 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.3368, allocations: 316 kB / 1.267 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.3369, allocations: 76.11 kB / 1.267 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.337, allocations: 8.375 kB / 1.267 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.3379, allocations: 383.3 kB / 1.267 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3379, allocations: 0 / 1.267 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.3379, allocations: 4 kB / 1.267 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3379, allocations: 4 kB / 1.267 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.3393, allocations: 0.5506 MB / 1.268 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3412, allocations: 0.9978 MB / 1.269 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.3419, allocations: 290.3 kB / 1.269 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/0.3426, allocations: 276.5 kB / 1.269 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3426, allocations: 0 / 1.269 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3426, allocations: 34.56 kB / 1.269 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.3426, allocations: 0 / 1.269 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002112/0.3448, allocations: 0.7898 MB / 1.27 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3448, allocations: 55.41 kB / 1.27 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.3452, allocations: 290.7 kB / 1.271 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.3452, allocations: 25.7 kB / 1.271 GB, free: 4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3453, allocations: 160.4 kB / 1.271 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.3454, allocations: 23.8 kB / 1.271 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.3455, allocations: 37.67 kB / 1.271 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3456, allocations: 334.8 kB / 1.271 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/0.3463, allocations: 267.7 kB / 1.271 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.347, allocations: 251.8 kB / 1.272 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3481, allocations: 440.4 kB / 1.272 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3481, allocations: 0 / 1.272 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00137/0.3495, allocations: 0.5323 MB / 1.273 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.3495, allocations: 7.984 kB / 1.273 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3495, allocations: 0 / 1.273 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3496, allocations: 0 / 1.273 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.35, allocations: 99.77 kB / 1.273 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.35, allocations: 0 / 1.273 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3504, allocations: 79.77 kB / 1.273 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.3504, allocations: 15.92 kB / 1.273 GB, free: 1.758 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.0001837/0.3506, allocations: 142.5 kB / 1.273 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.3506, allocations: 23.84 kB / 1.273 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.3507, allocations: 25.7 kB / 1.273 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3507, allocations: 4 kB / 1.273 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3507, allocations: 0 / 1.273 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.3508, allocations: 105 kB / 1.273 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3508, allocations: 3.938 kB / 1.273 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.3512, allocations: 71.88 kB / 1.273 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.3512, allocations: 15.92 kB / 1.273 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001662/0.3529, allocations: 0.6566 MB / 1.274 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001497/0.3544, allocations: 0.7053 MB / 1.274 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006655/0.3551, allocations: 268.4 kB / 1.275 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002508/0.3553, allocations: 217.9 kB / 1.275 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of Backend: time 3.2e-07/0.3553, allocations: 0 / 1.275 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.3565, allocations: 366 kB / 1.275 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001025/0.3575, allocations: 0.826 MB / 1.276 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.01017/0.3677, allocations: 4.779 MB / 1.281 GB, free: 9.465 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches