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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01117/0.01117, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.002755/0.002755, allocations: 189.4 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.9603, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003421/0.9637, allocations: 1.541 MB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.9651, allocations: 0.7527 MB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.9652, allocations: 0 / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.9653, allocations: 3.938 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.9654, allocations: 15.86 kB / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.9659, allocations: 87.66 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.966, allocations: 59.72 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.9662, allocations: 11.98 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.9663, allocations: 19.94 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.9664, allocations: 27.91 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.9664, allocations: 4 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.9666, allocations: 67.94 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.9666, allocations: 7.938 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.9667, allocations: 23.86 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.9669, allocations: 100.2 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9669, allocations: 7.875 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9669, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9669, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 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.0005377/0.9675, allocations: 387 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9675, allocations: 8.625 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.9679, allocations: 24.91 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.968, allocations: 172.2 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.968, allocations: 4.375 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.9681, allocations: 384 / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.9684, allocations: 89.94 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.9684, allocations: 3.984 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9684, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9684, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.9687, allocations: 71.88 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.9692, allocations: 316.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.9695, allocations: 70.53 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.9696, allocations: 36.94 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.9697, allocations: 11.97 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.9697, allocations: 30.56 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.9697, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005117/0.9702, allocations: 137.5 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.9703, allocations: 55.41 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.9704, allocations: 118.2 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.9704, allocations: 25.7 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.9704, allocations: 92.06 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.9705, allocations: 11.95 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.9705, allocations: 17.7 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9706, allocations: 322.8 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.9708, allocations: 31.98 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.9709, allocations: 31.97 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.9712, allocations: 72.75 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9712, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003134/0.9715, allocations: 109.6 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9715, allocations: 8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9715, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9716, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.9717, allocations: 15.97 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9717, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.9718, allocations: 8 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.9718, allocations: 3.984 kB / 1.171 GB, free: 14.63 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/0.9719, allocations: 121.7 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.972, allocations: 7.953 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.972, allocations: 7.906 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.972, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.972, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.972, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.9722, allocations: 201.4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9723, allocations: 3.938 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.9724, allocations: 19.92 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9724, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.9724, allocations: 7.984 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9724, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.9724, allocations: 4.312 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.9728, allocations: 211.4 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.9729, allocations: 77.11 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.9729, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.973, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.9731, allocations: 7.984 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.9731, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.475e-05/0.9732, allocations: 111.2 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9732, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002783/0.9735, allocations: 27.92 kB / 1.172 GB, free: 13.73 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.9737, allocations: 127 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003434/0.974, allocations: 67.94 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.974, allocations: 4 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.9742, allocations: 39.97 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.9745, allocations: 7.938 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.9749, allocations: 171 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.9752, allocations: 0.6846 MB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.889e-05/0.9753, allocations: 15.98 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.9754, allocations: 15.42 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/0.9754, allocations: 0 / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003566/0.9789, allocations: 1.077 MB / 1.174 GB, free: 11.48 MB / 0.9044 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