Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 180 kB / 491.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009481/0.0009482, allocations: 94.22 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.071e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.328, allocations: 150.9 MB / 1.36 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/1.329, allocations: 90.33 kB / 1.36 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00506/1.334, allocations: 1.684 MB / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.334, allocations: 0 / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.091e-06/1.334, allocations: 0 / 1.361 GB, free: 33.15 MB / 0.8386 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.0003316/1.334, allocations: 383.2 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.334, allocations: 11.69 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/1.335, allocations: 98.48 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.335, allocations: 194.9 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/1.335, allocations: 32.38 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/1.335, allocations: 4.406 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001868/1.335, allocations: 131.9 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.336, allocations: 121.4 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/1.336, allocations: 0 / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.336, allocations: 3.75 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.336, allocations: 4.734 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/1.336, allocations: 451.9 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/1.336, allocations: 143.3 kB / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/1.337, allocations: 72.3 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/1.337, allocations: 4 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/1.337, allocations: 30.56 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.337, allocations: 0 / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004105/1.337, allocations: 173.6 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/1.337, allocations: 55.34 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.337, allocations: 137.9 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/1.337, allocations: 25.7 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/1.337, allocations: 97.2 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/1.337, allocations: 15.22 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/1.337, allocations: 0 / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/1.337, allocations: 316.6 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/1.337, allocations: 63.7 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/1.337, allocations: 65.72 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/1.338, allocations: 54.98 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.338, allocations: 0 / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003371/1.338, allocations: 167.9 kB / 1.364 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.338, allocations: 15.05 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.338, allocations: 0 / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.338, allocations: 0 / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.338, allocations: 31.2 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.338, allocations: 3.953 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/1.338, allocations: 20.92 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/1.338, allocations: 11.8 kB / 1.364 GB, free: 31.47 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.159e-05/1.339, allocations: 105 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/1.339, allocations: 7.594 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/1.339, allocations: 12.95 kB / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.339, allocations: 0 / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.339, allocations: 0 / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.339, allocations: 5.125 kB / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/1.339, allocations: 211.5 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.339, allocations: 0 / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/1.339, allocations: 32.2 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.339, allocations: 4 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.339, allocations: 6.672 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.339, allocations: 1.062 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.339, allocations: 0 / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/1.339, allocations: 266.8 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/1.339, allocations: 85.92 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/1.339, allocations: 0 / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/1.34, allocations: 20.14 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/1.34, allocations: 1.125 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/1.34, allocations: 17.23 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.545e-05/1.34, allocations: 112.8 kB / 1.365 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.34, allocations: 0 / 1.365 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00024/1.34, allocations: 24.72 kB / 1.365 GB, free: 30.87 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/1.34, allocations: 99.84 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000201/1.34, allocations: 169.2 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/1.34, allocations: 0 / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/1.341, allocations: 85.27 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/1.341, allocations: 11.7 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/1.341, allocations: 175.4 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/1.341, allocations: 0.6985 MB / 1.366 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.892e-05/1.341, allocations: 29.58 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/1.341, allocations: 20.62 kB / 1.366 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.341, allocations: 0 / 1.366 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of Templates: time 0.002932/1.344, allocations: 0.9765 MB / 1.367 GB, free: 29.88 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches