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.288/2.288, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001148/0.001148, allocations: 184.8 kB / 492.3 MB, free: 0.5977 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.699/1.699, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008729/0.0008726, allocations: 99.67 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.393e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.317, allocations: 151.1 MB / 1.36 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.318, allocations: 87.5 kB / 1.36 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00972/1.328, allocations: 3.338 MB / 1.363 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.328, allocations: 3.938 kB / 1.363 GB, free: 34.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.328, allocations: 7.812 kB / 1.363 GB, free: 34.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003496/1.328, allocations: 363.2 kB / 1.364 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.328, allocations: 7.688 kB / 1.364 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/1.328, allocations: 31.44 kB / 1.364 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/1.328, allocations: 176.3 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.329, allocations: 3.5 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/1.329, allocations: 0 / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/1.329, allocations: 63.7 kB / 1.364 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/1.329, allocations: 3.812 kB / 1.364 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.329, allocations: 3 kB / 1.364 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.329, allocations: 0 / 1.364 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/1.329, allocations: 40.03 kB / 1.364 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/1.329, allocations: 323.6 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.329, allocations: 49.48 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/1.329, allocations: 28.16 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1.329, allocations: 8.844 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/1.33, allocations: 38.5 kB / 1.364 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.33, allocations: 0 / 1.364 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002023/1.33, allocations: 78.45 kB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/1.33, allocations: 59.98 kB / 1.365 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/1.33, allocations: 102.4 kB / 1.365 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/1.33, allocations: 28.27 kB / 1.365 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/1.33, allocations: 88.52 kB / 1.365 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/1.33, allocations: 5.125 kB / 1.365 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/1.33, allocations: 7.5 kB / 1.365 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.33, allocations: 320.1 kB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/1.33, allocations: 17.22 kB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/1.33, allocations: 23.3 kB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/1.33, allocations: 13.44 kB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.33, allocations: 0 / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001284/1.33, allocations: 83.22 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.33, allocations: 8.844 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.33, allocations: 0 / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1.33, allocations: 0 / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/1.331, allocations: 22.44 kB / 1.365 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.331, allocations: 3.953 kB / 1.365 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/1.331, allocations: 13.73 kB / 1.365 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/1.331, allocations: 0.9844 kB / 1.365 GB, free: 33.01 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 (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 6.266e-05/1.331, allocations: 106.1 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/1.331, allocations: 7.75 kB / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/1.331, allocations: 16.8 kB / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.331, allocations: 3.938 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.331, allocations: 0 / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.331, allocations: 4.141 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/1.331, allocations: 187.5 kB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.331, allocations: 0 / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/1.331, allocations: 20.97 kB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.331, allocations: 9.438 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.331, allocations: 1.406 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.331, allocations: 7.969 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.331, allocations: 0 / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/1.331, allocations: 173.4 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/1.331, allocations: 81.02 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/1.331, allocations: 4.938 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.332, allocations: 6.578 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/1.332, allocations: 9.891 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/1.332, allocations: 1.453 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.595e-05/1.332, allocations: 103.8 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.332, allocations: 0 / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002462/1.332, allocations: 36.52 kB / 1.366 GB, free: 32.35 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 (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.0001744/1.332, allocations: 137.9 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001261/1.332, allocations: 46.08 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.332, allocations: 0 / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/1.332, allocations: 28.34 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/1.332, allocations: 12.11 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/1.333, allocations: 94.64 kB / 1.366 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/1.333, allocations: 0.6822 MB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.773e-05/1.333, allocations: 19.69 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/1.333, allocations: 17.83 kB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.333, allocations: 0 / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.002816/1.336, allocations: 0.946 MB / 1.368 GB, free: 31.35 MB / 0.8386 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