Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001365/0.001365, allocations: 181.8 kB / 498.1 MB, free: 5.715 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.764/1.764, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001093/0.001093, allocations: 96.31 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004715, allocations: 14.64 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3524, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.5626, allocations: 151.1 MB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.563, allocations: 95.92 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009858/0.5728, allocations: 3.342 MB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5729, allocations: 0 / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.5729, allocations: 0 / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005397/0.5735, allocations: 387 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.5735, allocations: 8.031 kB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.5738, allocations: 27.92 kB / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.574, allocations: 178.9 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.5741, allocations: 0 / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.5741, allocations: 4 kB / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.5744, allocations: 81.62 kB / 1.375 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5744, allocations: 0 / 1.375 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.5744, allocations: 4 kB / 1.375 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.5744, allocations: 7.938 kB / 1.375 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.5747, allocations: 71.94 kB / 1.375 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.5753, allocations: 316.6 kB / 1.375 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.5756, allocations: 79.44 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.5757, allocations: 11.92 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5757, allocations: 34.5 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5757, allocations: 0 / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005465/0.5763, allocations: 149.6 kB / 1.375 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.5763, allocations: 59.41 kB / 1.375 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.5764, allocations: 105 kB / 1.375 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5764, allocations: 25.7 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.5765, allocations: 88.12 kB / 1.375 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.5766, allocations: 7.906 kB / 1.375 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5766, allocations: 4 kB / 1.375 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5767, allocations: 318.8 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5769, allocations: 31.98 kB / 1.376 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.577, allocations: 39.97 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.5771, allocations: 39.91 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5771, allocations: 0 / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003073/0.5774, allocations: 113.9 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5775, allocations: 4 kB / 1.376 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5775, allocations: 3.984 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5775, allocations: 0 / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.5777, allocations: 19.97 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5777, allocations: 3.953 kB / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.5778, allocations: 23.86 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5778, allocations: 4 kB / 1.376 GB, free: 4.949 MB / 0.8698 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 (3): * Single equations (assignments): 3 * 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 0.0001002/0.5779, allocations: 109.8 kB / 1.376 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.5779, allocations: 7.906 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.578, allocations: 11.89 kB / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.578, allocations: 0 / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.578, allocations: 4 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.578, allocations: 3.953 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.5783, allocations: 185.6 kB / 1.376 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5783, allocations: 4 kB / 1.376 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.5784, allocations: 23.91 kB / 1.376 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5784, allocations: 0 / 1.376 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5784, allocations: 4 kB / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5784, allocations: 4 kB / 1.376 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5784, allocations: 0 / 1.376 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.5788, allocations: 215.3 kB / 1.377 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.5789, allocations: 81.11 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.5789, allocations: 0 / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.579, allocations: 7.984 kB / 1.377 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.5791, allocations: 8 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.5791, allocations: 3.984 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.45e-05/0.5792, allocations: 103.6 kB / 1.377 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5792, allocations: 0 / 1.377 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002848/0.5795, allocations: 35.89 kB / 1.377 GB, free: 4.055 MB / 0.8698 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 (3): * Single equations (assignments): 3 * 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.0002598/0.5798, allocations: 135.7 kB / 1.377 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5801, allocations: 83.94 kB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5801, allocations: 0 / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.5803, allocations: 43.95 kB / 1.377 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.5805, allocations: 7.938 kB / 1.377 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.5809, allocations: 178.5 kB / 1.377 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.5812, allocations: 0.6848 MB / 1.378 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.242e-05/0.5813, allocations: 15.98 kB / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.5814, allocations: 19.42 kB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.5814, allocations: 0 / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of Templates: time 0.003503/0.5849, allocations: 0.9367 MB / 1.379 GB, free: 1.902 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches