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.328/2.328, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001047/0.001047, allocations: 174.4 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009939/0.0009939, allocations: 103.7 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.357e-05/4.36e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3669, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.511, allocations: 151.6 MB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.511, allocations: 84.52 kB / 1.367 GB, free: 2.332 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005116/1.516, allocations: 1.697 MB / 1.369 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.773e-06/1.516, allocations: 0 / 1.369 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.428e-06/1.516, allocations: 4 kB / 1.369 GB, free: 0.832 MB / 0.823 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.0004108/1.517, allocations: 370.6 kB / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.517, allocations: 16.02 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007282/1.517, allocations: 99.41 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1.518, allocations: 188.7 kB / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/1.518, allocations: 33.7 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/1.518, allocations: 6.625 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/1.518, allocations: 130.8 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.518, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/1.518, allocations: 0.6875 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.518, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/1.518, allocations: 138.6 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/1.519, allocations: 472.9 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/1.519, allocations: 148.7 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/1.52, allocations: 70.92 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/1.52, allocations: 3.984 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/1.52, allocations: 38.52 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.52, allocations: 4 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003435/1.52, allocations: 159.1 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.52, allocations: 55.39 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/1.52, allocations: 149 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/1.52, allocations: 29.64 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/1.52, allocations: 100.5 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/1.52, allocations: 3.906 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/1.52, allocations: 0 / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.52, allocations: 325.4 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/1.521, allocations: 66.5 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/1.521, allocations: 62 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.14e-05/1.521, allocations: 51.27 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.521, allocations: 4 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002456/1.521, allocations: 158.7 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.521, allocations: 5.406 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.521, allocations: 7.703 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.521, allocations: 0 / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/1.521, allocations: 36.05 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.521, allocations: 0 / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/1.521, allocations: 23.91 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/1.521, allocations: 8 kB / 1.371 GB, free: 14.02 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 7.956e-05/1.522, allocations: 112.8 kB / 1.371 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/1.522, allocations: 7.906 kB / 1.371 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/1.522, allocations: 15.53 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.522, allocations: 3.953 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.522, allocations: 0 / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/1.522, allocations: 0 / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/1.522, allocations: 235.5 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.522, allocations: 0 / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/1.522, allocations: 27.95 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.522, allocations: 0 / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/1.522, allocations: 7.984 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.522, allocations: 3.953 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.522, allocations: 4 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/1.523, allocations: 256.9 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/1.523, allocations: 92.91 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/1.523, allocations: 0 / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/1.523, allocations: 11.98 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/1.523, allocations: 15.92 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/1.523, allocations: 11.98 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.97e-05/1.523, allocations: 130.7 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.523, allocations: 0 / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002321/1.523, allocations: 23.94 kB / 1.372 GB, free: 13.06 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.0001818/1.523, allocations: 95.25 kB / 1.372 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002528/1.524, allocations: 164.6 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.524, allocations: 4 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.524, allocations: 86.5 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/1.524, allocations: 8.5 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/1.524, allocations: 182 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/1.525, allocations: 0.7004 MB / 1.373 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001104/1.525, allocations: 32.06 kB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/1.525, allocations: 15.42 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.525, allocations: 0 / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.003394/1.528, allocations: 1.127 MB / 1.375 GB, free: 10.69 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