Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.56/2.56, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001421/0.001421, allocations: 180 kB / 0.4902 GB, free: 2.234 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.703/1.703, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.0009639/0.0009636, allocations: 103.4 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 10.53 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.5238, allocations: 151.9 MB / 1.378 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.5242, allocations: 95.88 kB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.535, allocations: 3.354 MB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.787e-06/0.5351, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5351, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 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.0006695/0.5358, allocations: 383.1 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/0.5359, allocations: 8.562 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.5362, allocations: 27.83 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.5365, allocations: 178.9 kB / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5365, allocations: 0 / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.5365, allocations: 4 kB / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.5369, allocations: 81.64 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5369, allocations: 0 / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.5369, allocations: 0 / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5369, allocations: 4 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.5372, allocations: 79.92 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.5379, allocations: 320.7 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.5382, allocations: 86.47 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.5382, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.5383, allocations: 30.56 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5383, allocations: 0 / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0006042/0.5389, allocations: 161.5 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.539, allocations: 55.41 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.5391, allocations: 105 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5391, allocations: 25.7 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.5392, allocations: 92.08 kB / 1.383 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.5392, allocations: 11.91 kB / 1.383 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.5392, allocations: 0 / 1.383 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5394, allocations: 314.8 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.5396, allocations: 35.97 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.5397, allocations: 43.97 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.5399, allocations: 31.98 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5399, allocations: 0 / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003424/0.5402, allocations: 117.5 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5402, allocations: 4 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5403, allocations: 0 / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5403, allocations: 0 / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.5404, allocations: 19.92 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5405, allocations: 3.953 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.5406, allocations: 15.98 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.5406, allocations: 3.984 kB / 1.383 GB, free: 11.71 MB / 0.8855 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 9.91e-05/0.5407, allocations: 114.9 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.5407, allocations: 4 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.5408, allocations: 7.844 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5408, allocations: 4 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5408, allocations: 8 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5408, allocations: 3.953 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.5411, allocations: 189.5 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.5411, allocations: 0 / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5412, allocations: 23.91 kB / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5412, allocations: 0 / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.5412, allocations: 8 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5412, allocations: 0 / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5413, allocations: 3.984 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.5417, allocations: 207.4 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.5417, allocations: 85.02 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.5417, allocations: 7.984 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5419, allocations: 4 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.5419, allocations: 8.359 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.5419, allocations: 0 / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.542, allocations: 99.27 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.542, allocations: 0 / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002789/0.5423, allocations: 31.89 kB / 1.384 GB, free: 10.83 MB / 0.8855 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.000262/0.5426, allocations: 139.9 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.5429, allocations: 83.92 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5429, allocations: 0 / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.5431, allocations: 47.91 kB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.5433, allocations: 0 / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.5437, allocations: 190.5 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.544, allocations: 0.6809 MB / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.5442, allocations: 19.97 kB / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.5442, allocations: 11.44 kB / 1.385 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5442, allocations: 0 / 1.385 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of Templates: time 0.003412/0.5476, allocations: 0.9479 MB / 1.386 GB, free: 8.652 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches