Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001068/0.001068, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.724/1.724, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009208/0.0009208, allocations: 95.41 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.443e-05/4.449e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3077, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.375, allocations: 150.8 MB / 1.36 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.376, allocations: 94.78 kB / 1.36 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005654/1.382, allocations: 1.692 MB / 1.361 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.444e-06/1.382, allocations: 0 / 1.361 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.443e-06/1.382, allocations: 0 / 1.361 GB, free: 34.73 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.0003592/1.382, allocations: 375.7 kB / 1.362 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.382, allocations: 11.22 kB / 1.362 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/1.383, allocations: 103.2 kB / 1.362 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/1.383, allocations: 188.5 kB / 1.362 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/1.383, allocations: 32.66 kB / 1.362 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/1.383, allocations: 0 / 1.362 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/1.383, allocations: 136.8 kB / 1.362 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.383, allocations: 0 / 1.362 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.383, allocations: 0 / 1.362 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.383, allocations: 0 / 1.362 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/1.384, allocations: 136.2 kB / 1.362 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/1.384, allocations: 475.6 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/1.385, allocations: 143.7 kB / 1.363 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.385, allocations: 75.48 kB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/1.385, allocations: 0 / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/1.385, allocations: 34.56 kB / 1.363 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/1.385, allocations: 1.312 kB / 1.363 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003224/1.385, allocations: 162 kB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.385, allocations: 60.66 kB / 1.363 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/1.385, allocations: 152.1 kB / 1.363 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/1.385, allocations: 29.64 kB / 1.363 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/1.385, allocations: 98.48 kB / 1.364 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/1.385, allocations: 9.906 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-06/1.385, allocations: 3.438 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.386, allocations: 321.2 kB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/1.386, allocations: 66.23 kB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/1.386, allocations: 61.31 kB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.773e-05/1.386, allocations: 48.06 kB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.386, allocations: 1.641 kB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002324/1.386, allocations: 163 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.386, allocations: 8 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.386, allocations: 0 / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.386, allocations: 3.953 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/1.386, allocations: 35.95 kB / 1.364 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.386, allocations: 0.9375 kB / 1.364 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/1.386, allocations: 16.7 kB / 1.364 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/1.387, allocations: 15.83 kB / 1.364 GB, free: 33.03 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.379e-05/1.387, allocations: 106 kB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/1.387, allocations: 7.719 kB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/1.387, allocations: 12.14 kB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.387, allocations: 0 / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.387, allocations: 3.953 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.387, allocations: 1.547 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/1.387, allocations: 242.3 kB / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.387, allocations: 0 / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/1.387, allocations: 31.88 kB / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.387, allocations: 4 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/1.387, allocations: 7.531 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.387, allocations: 0 / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.387, allocations: 3.953 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/1.387, allocations: 257.4 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/1.388, allocations: 90.33 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.388, allocations: 0 / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/1.388, allocations: 19.84 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/1.388, allocations: 1.688 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/1.388, allocations: 14.89 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001075/1.388, allocations: 130.3 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.388, allocations: 0 / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002341/1.388, allocations: 23.19 kB / 1.365 GB, free: 32.39 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.0001646/1.388, allocations: 102.1 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000242/1.389, allocations: 170.3 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.389, allocations: 0 / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/1.389, allocations: 90.48 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/1.389, allocations: 2.875 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/1.389, allocations: 175.2 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.39, allocations: 0.6976 MB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001079/1.39, allocations: 38.55 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/1.39, allocations: 23.95 kB / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.39, allocations: 0 / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.003289/1.393, allocations: 1.127 MB / 1.368 GB, free: 31.39 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches