Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001311/0.001311, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001332/0.001332, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.447/1.447, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB
"
[Timeout remaining time 177]
Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.89 kB / 1.057 GB, free: 1.926 MB / 0.795 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003146/0.3219, allocations: 1.583 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001152/0.3231, allocations: 0.6094 MB / 1.216 GB, free: 14.67 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.3231, allocations: 0 / 1.216 GB, free: 14.67 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.3232, allocations: 3.938 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3233, allocations: 11.92 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.3236, allocations: 55.81 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3237, allocations: 47.78 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3238, allocations: 12 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.3239, allocations: 27.91 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.324, allocations: 23.92 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.324, allocations: 4 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.3242, allocations: 55.88 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.3242, allocations: 19.92 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.3243, allocations: 27.75 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3245, allocations: 103.5 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3245, allocations: 0 / 1.217 GB, free: 14.29 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.323e-06/0.3245, allocations: 0 / 1.217 GB, free: 14.29 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.039e-06/0.3245, allocations: 0 / 1.217 GB, free: 14.29 MB / 0.9669 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.0006827/0.3252, allocations: 402.9 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3252, allocations: 8.031 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009073/0.3261, allocations: 212.5 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3263, allocations: 184.8 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.3264, allocations: 38.25 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3264, allocations: 3.938 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.3269, allocations: 173.5 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3269, allocations: 4 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3269, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3269, allocations: 4 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.3275, allocations: 231.8 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009756/0.3285, allocations: 0.5116 MB / 1.218 GB, free: 12.39 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.3291, allocations: 246.3 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.3294, allocations: 116.8 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.3294, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3295, allocations: 34.56 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3295, allocations: 4 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.001063/0.3305, allocations: 377.3 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3306, allocations: 51.41 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3307, allocations: 165 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3308, allocations: 25.7 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.3308, allocations: 104.1 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.3309, allocations: 11.98 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.3309, allocations: 17.7 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001568/0.3311, allocations: 322.8 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.3314, allocations: 111.9 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.3317, allocations: 115.9 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.3322, allocations: 196.7 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3322, allocations: 0 / 1.22 GB, free: 10.46 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006661/0.3329, allocations: 261.3 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3329, allocations: 4 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3329, allocations: 0 / 1.22 GB, free: 10.19 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.333, allocations: 0 / 1.22 GB, free: 10.19 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.3332, allocations: 51.94 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3332, allocations: 3.938 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3334, allocations: 35.88 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3334, allocations: 7.984 kB / 1.22 GB, free: 10.09 MB / 0.9669 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 0.0001091/0.3335, allocations: 121.8 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3335, allocations: 7.953 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.3336, allocations: 15.86 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3336, allocations: 0 / 1.221 GB, free: 9.941 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3336, allocations: 3.938 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3336, allocations: 0 / 1.221 GB, free: 9.938 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.3339, allocations: 249.4 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3339, allocations: 4 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.3341, allocations: 43.92 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3341, allocations: 3.938 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3341, allocations: 3.984 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3341, allocations: 4 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3341, allocations: 7.922 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.3348, allocations: 355.2 kB / 1.221 GB, free: 9.215 MB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3349, allocations: 81.06 kB / 1.221 GB, free: 9.117 MB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3349, allocations: 4 kB / 1.221 GB, free: 9.113 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3351, allocations: 35.97 kB / 1.221 GB, free: 9.078 MB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3351, allocations: 7.922 kB / 1.221 GB, free: 9.07 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3351, allocations: 4 kB / 1.221 GB, free: 9.066 MB / 0.9669 GB
Notification: Performance of sorting global known variables: time 0.0001157/0.3352, allocations: 133 kB / 1.221 GB, free: 8.938 MB / 0.9669 GB
Notification: Performance of sort global known variables: time 7e-08/0.3352, allocations: 0 / 1.221 GB, free: 8.938 MB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0002529/0.3355, allocations: 12 kB / 1.222 GB, free: 8.926 MB / 0.9669 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.0001843/0.3357, allocations: 103.2 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB
Notification: Performance of simCode: created initialization part: time 0.0006996/0.3364, allocations: 243.7 kB / 1.222 GB, free: 8.578 MB / 0.9669 GB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3364, allocations: 0 / 1.222 GB, free: 8.578 MB / 0.9669 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.3367, allocations: 115.9 kB / 1.222 GB, free: 8.465 MB / 0.9669 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.3369, allocations: 8 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.3377, allocations: 320.5 kB / 1.222 GB, free: 8.109 MB / 0.9669 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.338, allocations: 0.6924 MB / 1.223 GB, free: 7.391 MB / 0.9669 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.3381, allocations: 23.41 kB / 1.223 GB, free: 7.367 MB / 0.9669 GB
Notification: Performance of SimCode: time 5.72e-07/0.3381, allocations: 0 / 1.223 GB, free: 7.367 MB / 0.9669 GB
Notification: Performance of Templates: time 0.003858/0.342, allocations: 1.691 MB / 1.225 GB, free: 5.676 MB / 0.9669 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300]
(rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.855454385047778]