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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001301/0.001301, allocations: 189 kB / 22.22 MB, free: 5.105 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.363/1.363, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.877/2.877, allocations: 495.7 MB / 0.7831 GB, free: 33.72 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 62.94 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 173.6 MB / 1.307 GB, free: 1.914 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003309/0.308, allocations: 2.005 MB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001184/0.3092, allocations: 0.6974 MB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.3093, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.3094, allocations: 31.72 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.3095, allocations: 19.81 kB / 1.31 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.3099, allocations: 91.7 kB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3101, allocations: 147.7 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.3102, allocations: 60.91 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3103, allocations: 75.64 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3104, allocations: 67.69 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3105, allocations: 12 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3106, allocations: 71.94 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.3107, allocations: 71.7 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 9.208e-05/0.3108, allocations: 91.39 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.3111, allocations: 270.8 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3111, allocations: 0 / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.032e-06/0.3111, allocations: 0 / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.793e-06/0.3111, allocations: 0 / 1.311 GB, free: 14.2 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.0008179/0.312, allocations: 477 kB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.312, allocations: 12.03 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.3137, allocations: 424 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3141, allocations: 261.7 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.784e-05/0.3142, allocations: 68.19 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.3143, allocations: 16.38 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008561/0.3151, allocations: 383.3 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3151, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.3152, allocations: 8 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3152, allocations: 4 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.3164, allocations: 0.539 MB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.3182, allocations: 0.9689 MB / 1.314 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.3188, allocations: 286.3 kB / 1.314 GB, free: 10.67 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.3194, allocations: 268.6 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3195, allocations: 4 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3195, allocations: 38.5 kB / 1.314 GB, free: 10.35 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 3.025e-06/0.3195, allocations: 7.984 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.001965/0.3215, allocations: 0.7783 MB / 1.315 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.3215, allocations: 55.41 kB / 1.315 GB, free: 9.492 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.3218, allocations: 297.9 kB / 1.315 GB, free: 9.191 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3218, allocations: 29.7 kB / 1.315 GB, free: 9.156 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.322, allocations: 152.2 kB / 1.315 GB, free: 9.004 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.322, allocations: 23.75 kB / 1.316 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3221, allocations: 41.67 kB / 1.316 GB, free: 8.934 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001466/0.3222, allocations: 334.8 kB / 1.316 GB, free: 8.598 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.3229, allocations: 259.8 kB / 1.316 GB, free: 8.344 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.3235, allocations: 255.8 kB / 1.316 GB, free: 8.094 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3246, allocations: 452.8 kB / 1.317 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3246, allocations: 3.938 kB / 1.317 GB, free: 7.645 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.00131/0.3259, allocations: 0.5323 MB / 1.317 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3259, allocations: 4 kB / 1.317 GB, free: 7.102 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3259, allocations: 0 / 1.317 GB, free: 7.102 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3259, allocations: 0 / 1.317 GB, free: 7.102 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.3263, allocations: 91.83 kB / 1.317 GB, free: 7.012 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3263, allocations: 7.938 kB / 1.317 GB, free: 7.004 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3266, allocations: 71.81 kB / 1.317 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3267, allocations: 11.98 kB / 1.318 GB, free: 6.922 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.0001562/0.3268, allocations: 145.7 kB / 1.318 GB, free: 6.77 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.3269, allocations: 27.84 kB / 1.318 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.3269, allocations: 21.72 kB / 1.318 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3269, allocations: 0 / 1.318 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3269, allocations: 0 / 1.318 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3269, allocations: 3.984 kB / 1.318 GB, free: 6.715 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.3274, allocations: 407.3 kB / 1.318 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3274, allocations: 0 / 1.318 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.3278, allocations: 91.83 kB / 1.318 GB, free: 6.18 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3278, allocations: 4 kB / 1.318 GB, free: 6.176 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3278, allocations: 3.984 kB / 1.318 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3278, allocations: 0 / 1.318 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3278, allocations: 8 kB / 1.318 GB, free: 6.164 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3292, allocations: 0.6355 MB / 1.319 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.3292, allocations: 23.86 kB / 1.319 GB, free: 5.488 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.3293, allocations: 4 kB / 1.319 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.3296, allocations: 75.86 kB / 1.319 GB, free: 5.41 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3297, allocations: 7.984 kB / 1.319 GB, free: 5.402 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3297, allocations: 11.98 kB / 1.319 GB, free: 5.391 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002181/0.3299, allocations: 213.2 kB / 1.319 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3299, allocations: 0 / 1.319 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002941/0.3302, allocations: 47.88 kB / 1.319 GB, free: 5.137 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.000153/0.3303, allocations: 99.98 kB / 1.319 GB, free: 5.031 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001326/0.3317, allocations: 0.5307 MB / 1.32 GB, free: 4.5 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3317, allocations: 0 / 1.32 GB, free: 4.5 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.000638/0.3323, allocations: 271.7 kB / 1.32 GB, free: 4.234 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.3326, allocations: 18.84 kB / 1.32 GB, free: 4.219 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3338, allocations: 0.591 MB / 1.321 GB, free: 3.602 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3342, allocations: 0.7513 MB / 1.321 GB, free: 2.824 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001782/0.3343, allocations: 53.42 kB / 1.321 GB, free: 2.773 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3344, allocations: 31.34 kB / 1.321 GB, free: 2.742 MB / 1.014 GB
Notification: Performance of SimCode: time 3.3e-07/0.3344, allocations: 7.938 kB / 1.321 GB, free: 2.734 MB / 1.014 GB
Notification: Performance of Templates: time 0.006177/0.3406, allocations: 2.896 MB / 1.324 GB, free: 15.84 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 800]
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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.036404925398529]