Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001687, allocations: 101.7 kB / 16.27 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 186.3 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.743 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.58 kB / 0.9092 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3346, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003081/0.3378, allocations: 1.578 MB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3389, allocations: 0.5806 MB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.3389, allocations: 8 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.667e-05/0.339, allocations: 3.938 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/0.3391, allocations: 11.86 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.3394, allocations: 55.81 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.404e-05/0.3395, allocations: 39.92 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3396, allocations: 19.97 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.494e-05/0.3397, allocations: 27.88 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.3398, allocations: 27.84 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3398, allocations: 4 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.34, allocations: 47.95 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.3401, allocations: 23.91 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3401, allocations: 31.73 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3403, allocations: 96.03 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3403, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3403, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3403, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 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.0006204/0.341, allocations: 395.1 kB / 1.068 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.341, allocations: 8.031 kB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009543/0.342, allocations: 216.3 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3422, allocations: 196.7 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.3423, allocations: 34.25 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3423, allocations: 3.938 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.3427, allocations: 169.5 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3427, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3428, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3428, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.3434, allocations: 231.8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009218/0.3443, allocations: 0.5155 MB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.345, allocations: 230.3 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.3453, allocations: 120.8 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3453, allocations: 0 / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3453, allocations: 34.56 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3453, allocations: 7.938 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.001056/0.3464, allocations: 369.2 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3465, allocations: 51.41 kB / 1.07 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3466, allocations: 167.3 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3467, allocations: 25.7 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.3467, allocations: 108.2 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3468, allocations: 4 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.3468, allocations: 25.69 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.347, allocations: 318.8 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.3473, allocations: 107.9 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.3476, allocations: 115.9 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.3482, allocations: 208.6 kB / 1.071 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3482, allocations: 0 / 1.071 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006588/0.3489, allocations: 253.4 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3489, allocations: 6.656 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3489, allocations: 0 / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3489, allocations: 0 / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3492, allocations: 51.94 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.3492, allocations: 7.922 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3494, allocations: 39.84 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3494, allocations: 11.92 kB / 1.071 GB, free: 7.984 MB / 0.8419 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.0001103/0.3495, allocations: 124.8 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3496, allocations: 7.906 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.3496, allocations: 11.86 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3496, allocations: 0 / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3496, allocations: 3.938 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3496, allocations: 0 / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3499, allocations: 253.5 kB / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3499, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3502, allocations: 43.92 kB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3502, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3502, allocations: 7.984 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3502, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3502, allocations: 3.938 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.3509, allocations: 347.2 kB / 1.072 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.351, allocations: 92.95 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.351, allocations: 0 / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.3512, allocations: 39.95 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.3513, allocations: 3.938 kB / 1.072 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3513, allocations: 7.984 kB / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001106/0.3514, allocations: 123.2 kB / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3514, allocations: 0 / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002632/0.3517, allocations: 16 kB / 1.072 GB, free: 6.82 MB / 0.8419 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.0001718/0.3519, allocations: 115.8 kB / 1.072 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006803/0.3526, allocations: 231.8 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3526, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.3529, allocations: 115.9 kB / 1.072 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3532, allocations: 8 kB / 1.072 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.3539, allocations: 322.8 kB / 1.073 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3542, allocations: 0.7001 MB / 1.073 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.3543, allocations: 19.42 kB / 1.074 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3543, allocations: 0 / 1.074 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.003657/0.358, allocations: 1.672 MB / 1.075 GB, free: 3.586 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches