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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009047/0.0009046, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009096/0.0009096, allocations: 177.3 kB / 15.94 MB, free: 228 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.32/1.32, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6573, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001472/0.6588, allocations: 1.224 MB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.6598, allocations: 0.7066 MB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.6598, allocations: 4 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.6598, allocations: 3.984 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.6599, allocations: 7.922 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.6602, allocations: 75.78 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.6603, allocations: 31.94 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.6604, allocations: 15.98 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.6605, allocations: 19.94 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.6605, allocations: 19.91 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.6605, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.6607, allocations: 63.88 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.6607, allocations: 15.92 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.6607, allocations: 29.7 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.6609, allocations: 61.88 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.6609, allocations: 4 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6609, allocations: 4 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6609, allocations: 0 / 1.023 GB, free: 14.81 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.0004776/0.6614, allocations: 375.1 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6614, allocations: 11.98 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.6617, allocations: 23.88 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.6619, allocations: 175 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6619, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.6619, allocations: 4 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.6622, allocations: 85.58 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.6622, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6622, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.6622, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.6625, allocations: 75.94 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.663, allocations: 324.6 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.6633, allocations: 82.47 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.6633, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.6633, allocations: 30.56 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.716e-06/0.6633, allocations: 4 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005411/0.6639, allocations: 145.6 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6639, allocations: 59.34 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.664, allocations: 121.8 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.664, allocations: 29.64 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.6641, allocations: 88.14 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.6641, allocations: 7.812 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.6641, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.6642, allocations: 322.8 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.6644, allocations: 39.97 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.6645, allocations: 35.97 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.6646, allocations: 35.94 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6646, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003139/0.665, allocations: 109.6 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.665, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.665, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.665, allocations: 4 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.6652, allocations: 19.92 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6652, allocations: 0 / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.6653, allocations: 11.89 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.6653, allocations: 11.98 kB / 1.025 GB, free: 12.4 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 8.132e-05/0.6654, allocations: 109.8 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.6654, allocations: 8 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.6655, allocations: 15.91 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6655, allocations: 336 / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6655, allocations: 0 / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6655, allocations: 0 / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.6657, allocations: 201.5 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6657, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.6658, allocations: 19.97 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6658, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.6658, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6658, allocations: 3.984 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6659, allocations: 3.938 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.6663, allocations: 215.3 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.6663, allocations: 85.05 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.6663, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6665, allocations: 8 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.6665, allocations: 3.984 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6665, allocations: 4 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.6666, allocations: 95.27 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6666, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002684/0.6669, allocations: 31.91 kB / 1.026 GB, free: 11.51 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.000189/0.6671, allocations: 119.2 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.6674, allocations: 83.92 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6674, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.6676, allocations: 51.84 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.6678, allocations: 0 / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.6681, allocations: 182.5 kB / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.6684, allocations: 0.6887 MB / 1.027 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.622e-05/0.6685, allocations: 19.97 kB / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.6686, allocations: 11.44 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6686, allocations: 3.938 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.003103/0.6717, allocations: 0.9783 MB / 1.028 GB, free: 9.32 MB / 0.7794 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