Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001678/0.001678, 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.001577/0.001577, allocations: 192.9 kB / 22.23 MB, free: 5.156 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.324/1.324, allocations: 225.6 MB / 251 MB, free: 12.99 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.88/2.88, allocations: 496 MB / 0.7835 GB, free: 33.68 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.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar")
translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 62.84 kB / 1.138 GB, free: 33.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.304, allocations: 173.6 MB / 1.307 GB, free: 1.715 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002718/0.3067, allocations: 1.62 MB / 1.309 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0009989/0.3077, allocations: 0.5962 MB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.3077, allocations: 4 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.3077, allocations: 3.938 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.3078, allocations: 15.86 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3081, allocations: 51.81 kB / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.3082, allocations: 43.86 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.3083, allocations: 11.98 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.3083, allocations: 35.84 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.3084, allocations: 15.92 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.3084, allocations: 7.938 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3085, allocations: 63.94 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.3086, allocations: 15.98 kB / 1.31 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.3086, allocations: 35.73 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.3088, allocations: 99.61 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3088, allocations: 3.938 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.102e-06/0.3088, allocations: 0 / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.015e-06/0.3088, allocations: 0 / 1.31 GB, free: 15.08 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004929/0.3093, allocations: 313.9 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.3093, allocations: 8.922 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008684/0.3102, allocations: 212.5 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3104, allocations: 134.9 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.3104, allocations: 34.25 kB / 1.311 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3104, allocations: 7.875 kB / 1.311 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.3109, allocations: 173.5 kB / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3109, allocations: 0 / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3109, allocations: 0 / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3109, allocations: 4 kB / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.3115, allocations: 235.7 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.3123, allocations: 498.7 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.3129, allocations: 234.3 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.3132, allocations: 120.8 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.3132, allocations: 3.938 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3133, allocations: 34.56 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3133, allocations: 0 / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0009692/0.3142, allocations: 365.4 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3143, allocations: 59.39 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3144, allocations: 171.9 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3145, allocations: 25.7 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.3145, allocations: 100.1 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3145, allocations: 7.953 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.3146, allocations: 21.7 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001427/0.3147, allocations: 322.8 kB / 1.313 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.315, allocations: 111.9 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.3153, allocations: 119.8 kB / 1.313 GB, free: 11.65 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.3158, allocations: 196.7 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3158, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006065/0.3164, allocations: 257.4 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3164, allocations: 4 kB / 1.313 GB, free: 11.19 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3164, allocations: 0 / 1.313 GB, free: 11.19 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3164, allocations: 0 / 1.313 GB, free: 11.19 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.3166, allocations: 51.91 kB / 1.314 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3166, allocations: 3.938 kB / 1.314 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3168, allocations: 39.91 kB / 1.314 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.3168, allocations: 7.984 kB / 1.314 GB, free: 11.09 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 2
 * 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 9.718e-05/0.3169, allocations: 118.5 kB / 1.314 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.317, allocations: 11.91 kB / 1.314 GB, free: 10.95 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.317, allocations: 23.89 kB / 1.314 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.317, allocations: 0 / 1.314 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.317, allocations: 3.938 kB / 1.314 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.317, allocations: 4 kB / 1.314 GB, free: 10.92 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3173, allocations: 220.5 kB / 1.314 GB, free: 10.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3173, allocations: 0 / 1.314 GB, free: 10.66 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.3175, allocations: 43.92 kB / 1.314 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3175, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3175, allocations: 7.984 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3175, allocations: 0 / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3175, allocations: 7.938 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.3181, allocations: 351.2 kB / 1.314 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.3182, allocations: 7.953 kB / 1.314 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3182, allocations: 0 / 1.314 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3184, allocations: 39.88 kB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3184, allocations: 11.86 kB / 1.314 GB, free: 10.19 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3184, allocations: 8.031 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001226/0.3185, allocations: 131 kB / 1.315 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3185, allocations: 0 / 1.315 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002411/0.3188, allocations: 16 kB / 1.315 GB, free: 10.04 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * 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.000138/0.3189, allocations: 95.25 kB / 1.315 GB, free: 9.938 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0006247/0.3195, allocations: 235.7 kB / 1.315 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3195, allocations: 0 / 1.315 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003/0.3198, allocations: 119.9 kB / 1.315 GB, free: 9.59 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.32, allocations: 9.078 kB / 1.315 GB, free: 9.582 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.3207, allocations: 299.2 kB / 1.315 GB, free: 9.266 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.321, allocations: 0.6924 MB / 1.316 GB, free: 8.547 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 9.709e-05/0.3211, allocations: 27.98 kB / 1.316 GB, free: 8.52 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.3212, allocations: 19.42 kB / 1.316 GB, free: 8.5 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.3212, allocations: 0 / 1.316 GB, free: 8.5 MB / 1.014 GB
Notification: Performance of Templates: time 0.003884/0.3251, allocations: 1.304 MB / 1.317 GB, free: 7.195 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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: 7.976095935329795]