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.001303/0.001303, allocations: 110 kB / 18.93 MB, free: 2.945 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.001475/0.001475, allocations: 189.8 kB / 22.23 MB, free: 5.16 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.312/1.312, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
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 2.852/2.852, allocations: 496 MB / 0.7835 GB, free: 33.54 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-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.00185/0.00185, allocations: 74.38 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003249/0.3091, allocations: 2.014 MB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001177/0.3103, allocations: 0.7013 MB / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.3104, allocations: 7.938 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3105, allocations: 15.8 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.3106, allocations: 31.73 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.311, allocations: 87.78 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3112, allocations: 143.7 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3113, allocations: 68.88 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3114, allocations: 71.66 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3115, allocations: 67.69 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.3116, allocations: 12 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3117, allocations: 67.94 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.3118, allocations: 75.69 kB / 1.311 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.792e-05/0.3119, allocations: 91.41 kB / 1.311 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000338/0.3122, allocations: 266.9 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3123, allocations: 0 / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.272e-06/0.3123, allocations: 0 / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.35e-06/0.3123, allocations: 3.938 kB / 1.311 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.0007977/0.3131, allocations: 477 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3131, allocations: 16.86 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.3148, allocations: 428 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.3153, allocations: 253.7 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/0.3154, allocations: 68.19 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.3154, allocations: 16.31 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.3162, allocations: 384.7 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3163, allocations: 0 / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3163, allocations: 8 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3163, allocations: 4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.3176, allocations: 0.5351 MB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.3194, allocations: 0.9689 MB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.3201, allocations: 290.3 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.3207, allocations: 268.6 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3207, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3207, allocations: 38.56 kB / 1.315 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.3207, allocations: 0 / 1.315 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.002026/0.3228, allocations: 0.7859 MB / 1.315 GB, free: 9.461 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3228, allocations: 51.56 kB / 1.315 GB, free: 9.398 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.3231, allocations: 297.9 kB / 1.316 GB, free: 9.098 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3232, allocations: 25.7 kB / 1.316 GB, free: 9.066 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3233, allocations: 164.2 kB / 1.316 GB, free: 8.902 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3233, allocations: 23.75 kB / 1.316 GB, free: 8.879 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.3234, allocations: 41.67 kB / 1.316 GB, free: 8.832 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001488/0.3236, allocations: 330.8 kB / 1.316 GB, free: 8.5 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.3242, allocations: 263.7 kB / 1.316 GB, free: 8.242 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.3248, allocations: 255.8 kB / 1.317 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3259, allocations: 440.4 kB / 1.317 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3259, allocations: 0 / 1.317 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.001273/0.3271, allocations: 0.5361 MB / 1.318 GB, free: 7.016 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3272, allocations: 9.875 kB / 1.318 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3272, allocations: 0 / 1.318 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3272, allocations: 0 / 1.318 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.3276, allocations: 91.77 kB / 1.318 GB, free: 6.918 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3276, allocations: 4 kB / 1.318 GB, free: 6.914 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.3279, allocations: 71.83 kB / 1.318 GB, free: 6.844 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.3279, allocations: 11.97 kB / 1.318 GB, free: 6.832 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.0001705/0.3281, allocations: 145.8 kB / 1.318 GB, free: 6.68 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.3282, allocations: 19.86 kB / 1.318 GB, free: 6.66 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.3282, allocations: 25.7 kB / 1.318 GB, free: 6.633 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3282, allocations: 11.92 kB / 1.318 GB, free: 6.621 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3282, allocations: 0 / 1.318 GB, free: 6.621 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.3282, allocations: 7.938 kB / 1.318 GB, free: 6.613 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.3288, allocations: 407.3 kB / 1.318 GB, free: 6.168 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3288, allocations: 0 / 1.318 GB, free: 6.168 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.3291, allocations: 91.83 kB / 1.318 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3292, allocations: 0 / 1.318 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.3292, allocations: 11.97 kB / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3292, allocations: 0 / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3292, allocations: 0 / 1.319 GB, free: 6.066 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3306, allocations: 0.6322 MB / 1.319 GB, free: 5.418 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.3306, allocations: 23.84 kB / 1.319 GB, free: 5.395 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.3307, allocations: 8 kB / 1.319 GB, free: 5.387 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.331, allocations: 67.88 kB / 1.319 GB, free: 5.32 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.3311, allocations: 11.92 kB / 1.319 GB, free: 5.309 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.3311, allocations: 7.984 kB / 1.319 GB, free: 5.301 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002345/0.3313, allocations: 225.2 kB / 1.319 GB, free: 5.082 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 1.319 GB, free: 5.082 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002927/0.3316, allocations: 39.89 kB / 1.319 GB, free: 5.043 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.0001894/0.3318, allocations: 108 kB / 1.32 GB, free: 4.93 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001316/0.3331, allocations: 0.5229 MB / 1.32 GB, free: 4.406 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3331, allocations: 0 / 1.32 GB, free: 4.406 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.3338, allocations: 275.9 kB / 1.32 GB, free: 4.137 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.3341, allocations: 21.72 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.001215/0.3353, allocations: 0.5871 MB / 1.321 GB, free: 3.504 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3357, allocations: 0.7513 MB / 1.322 GB, free: 2.727 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001747/0.3358, allocations: 53.36 kB / 1.322 GB, free: 2.676 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.3359, allocations: 35.39 kB / 1.322 GB, free: 2.641 MB / 1.014 GB
Notification: Performance of SimCode: time 2.8e-07/0.3359, allocations: 0 / 1.322 GB, free: 2.641 MB / 1.014 GB
Notification: Performance of Templates: time 0.00648/0.3424, allocations: 2.897 MB / 1.325 GB, free: 15.74 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: 8.019811718724668]