Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 11.94 kB / 0.8722 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5641, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001608/0.5658, allocations: 1.243 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.5669, allocations: 0.6988 MB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.5669, allocations: 8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.567, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.567, allocations: 11.86 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.5674, allocations: 79.72 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.5675, allocations: 43.8 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.5676, allocations: 15.98 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.5676, allocations: 15.92 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.5677, allocations: 23.86 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.5678, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.5679, allocations: 67.92 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.5679, allocations: 4 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.568, allocations: 33.64 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.5681, allocations: 65.88 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5681, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5681, allocations: 3.938 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5681, allocations: 4 kB / 1.025 GB, free: 13.66 MB / 0.7794 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.0004657/0.5686, allocations: 375.1 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.5686, allocations: 12.03 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.5689, allocations: 23.88 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.5691, allocations: 171 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5691, allocations: 4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.5691, allocations: 8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.5694, allocations: 85.58 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5694, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5694, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5694, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.5697, allocations: 83.88 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.5701, allocations: 320.6 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.5704, allocations: 82.53 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.5705, allocations: 40.92 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.5706, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.5706, allocations: 34.5 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5706, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005009/0.5711, allocations: 149.6 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.5711, allocations: 51.41 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.5712, allocations: 117.8 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.5713, allocations: 29.69 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.5713, allocations: 92.05 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5713, allocations: 11.84 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.5713, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.5714, allocations: 322.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.5716, allocations: 31.98 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.5717, allocations: 35.97 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.5718, allocations: 43.91 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5719, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003057/0.5722, allocations: 109.6 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5722, allocations: 8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5722, allocations: 0 / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5722, allocations: 3.984 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.5724, allocations: 15.98 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5724, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.5725, allocations: 19.89 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.5725, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 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 7.793e-05/0.5726, allocations: 117.8 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.5726, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.5727, allocations: 15.89 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5727, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5727, allocations: 336 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5727, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.5729, allocations: 193.5 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5729, allocations: 7.938 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.573, allocations: 19.97 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.573, allocations: 3.984 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.573, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.573, allocations: 4 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5731, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.5734, allocations: 211.4 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.5734, allocations: 84.97 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.5735, allocations: 4 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5736, allocations: 11.98 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.5736, allocations: 8 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.5736, allocations: 3.984 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.5737, allocations: 95.2 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5737, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002731/0.574, allocations: 32 kB / 1.028 GB, free: 10.3 MB / 0.7794 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.0001636/0.5742, allocations: 123.2 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.5745, allocations: 83.94 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.5745, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.5746, allocations: 43.95 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5749, allocations: 7.281 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.5753, allocations: 182.5 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.5755, allocations: 0.6848 MB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.606e-05/0.5756, allocations: 23.94 kB / 1.029 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.5757, allocations: 15.42 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5757, allocations: 0 / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of Templates: time 0.003063/0.5787, allocations: 0.9774 MB / 1.03 GB, free: 8.109 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches