Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 190.3 kB / 22.11 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 495.8 MB / 0.783 GB, free: 33.71 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate")
translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 64.09 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3709, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003769/0.3747, allocations: 2.015 MB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.00151/0.3762, allocations: 0.6975 MB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3763, allocations: 7.938 kB / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.3764, allocations: 15.8 kB / 1.309 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.3765, allocations: 31.67 kB / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.377, allocations: 83.84 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002225/0.3772, allocations: 147.6 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.3774, allocations: 71.3 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3775, allocations: 63.72 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3776, allocations: 75.61 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.3777, allocations: 16 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3778, allocations: 63.94 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3779, allocations: 63.77 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3781, allocations: 95.34 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.3786, allocations: 266.8 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3786, allocations: 0 / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.643e-06/0.3786, allocations: 4 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.021e-06/0.3786, allocations: 0 / 1.31 GB, free: 14.09 MB / 1.014 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.001012/0.3796, allocations: 481 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3796, allocations: 8.031 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.3815, allocations: 424 kB / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.382, allocations: 257.7 kB / 1.311 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3821, allocations: 72.12 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.3821, allocations: 12.38 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.3831, allocations: 392.6 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3831, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.3831, allocations: 4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3831, allocations: 4 kB / 1.312 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.3848, allocations: 0.5468 MB / 1.312 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.3868, allocations: 0.965 MB / 1.313 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.3875, allocations: 282.3 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006723/0.3882, allocations: 276.6 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3882, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3883, allocations: 34.56 kB / 1.314 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.3883, allocations: 3.984 kB / 1.314 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.002159/0.3904, allocations: 0.7899 MB / 1.315 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3905, allocations: 51.41 kB / 1.315 GB, free: 9.383 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.3909, allocations: 301.9 kB / 1.315 GB, free: 9.078 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3909, allocations: 25.7 kB / 1.315 GB, free: 9.047 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.391, allocations: 148.2 kB / 1.315 GB, free: 8.898 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3911, allocations: 31.73 kB / 1.315 GB, free: 8.867 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.3912, allocations: 33.69 kB / 1.315 GB, free: 8.828 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001706/0.3913, allocations: 342.8 kB / 1.316 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.392, allocations: 255.8 kB / 1.316 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.3927, allocations: 263.8 kB / 1.316 GB, free: 7.977 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.3939, allocations: 436.4 kB / 1.317 GB, free: 7.547 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3939, allocations: 0 / 1.317 GB, free: 7.547 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.001421/0.3953, allocations: 0.5322 MB / 1.317 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3953, allocations: 8 kB / 1.317 GB, free: 7 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3953, allocations: 0 / 1.317 GB, free: 7 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.3954, allocations: 4 kB / 1.317 GB, free: 6.996 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.3958, allocations: 91.83 kB / 1.317 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3958, allocations: 0.5469 kB / 1.317 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.3962, allocations: 79.81 kB / 1.317 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.3962, allocations: 7.984 kB / 1.317 GB, free: 6.82 MB / 1.014 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.0002121/0.3964, allocations: 145.8 kB / 1.317 GB, free: 6.668 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3965, allocations: 23.8 kB / 1.317 GB, free: 6.645 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.3965, allocations: 25.72 kB / 1.317 GB, free: 6.617 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3965, allocations: 3.984 kB / 1.317 GB, free: 6.613 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.3965, allocations: 4 kB / 1.317 GB, free: 6.609 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3965, allocations: 0 / 1.317 GB, free: 6.609 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.3972, allocations: 399.4 kB / 1.318 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3972, allocations: 0 / 1.318 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.3975, allocations: 95.77 kB / 1.318 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3976, allocations: 3.938 kB / 1.318 GB, free: 6.074 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.3976, allocations: 11.98 kB / 1.318 GB, free: 6.062 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3976, allocations: 0 / 1.318 GB, free: 6.062 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3976, allocations: 0 / 1.318 GB, free: 6.062 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3991, allocations: 0.6355 MB / 1.319 GB, free: 5.41 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.3991, allocations: 23.86 kB / 1.319 GB, free: 5.387 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3992, allocations: 0 / 1.319 GB, free: 5.387 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.3995, allocations: 75.86 kB / 1.319 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.3996, allocations: 11.98 kB / 1.319 GB, free: 5.301 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3996, allocations: 7.984 kB / 1.319 GB, free: 5.293 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002692/0.3999, allocations: 217.2 kB / 1.319 GB, free: 5.082 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.3999, allocations: 3.938 kB / 1.319 GB, free: 5.078 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003394/0.4002, allocations: 47.89 kB / 1.319 GB, free: 5.031 MB / 1.014 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.0001943/0.4004, allocations: 104 kB / 1.319 GB, free: 4.922 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001452/0.4019, allocations: 0.519 MB / 1.32 GB, free: 4.402 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4019, allocations: 0 / 1.32 GB, free: 4.402 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.4026, allocations: 275.7 kB / 1.32 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4029, allocations: 16.44 kB / 1.32 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4042, allocations: 0.5949 MB / 1.32 GB, free: 3.496 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.4047, allocations: 0.7513 MB / 1.321 GB, free: 2.719 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0002307/0.405, allocations: 57.42 kB / 1.321 GB, free: 2.664 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.4051, allocations: 27.41 kB / 1.321 GB, free: 2.637 MB / 1.014 GB
Notification: Performance of SimCode: time 5.41e-07/0.4051, allocations: 0 / 1.321 GB, free: 2.637 MB / 1.014 GB
Notification: Performance of Templates: time 0.00728/0.4124, allocations: 2.899 MB / 1.324 GB, free: 15.73 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.277818195521832]