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.001301/0.001301, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001113/0.001113, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.616/2.616, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.44 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002806/0.3649, allocations: 1.544 MB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.366, allocations: 0.7618 MB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.3661, allocations: 0 / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.3661, allocations: 3.938 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.3662, allocations: 15.88 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.3666, allocations: 96.12 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.837e-05/0.3667, allocations: 47.8 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3668, allocations: 11.98 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.3669, allocations: 27.94 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.367, allocations: 35.83 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.367, allocations: 4 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3671, allocations: 59.95 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.3672, allocations: 4 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.3672, allocations: 31.84 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.3674, allocations: 91.7 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3674, allocations: 4 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3674, allocations: 0 / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3674, allocations: 0 / 1.021 GB, free: 7.125 MB / 0.795 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.0004831/0.3679, allocations: 371.3 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3679, allocations: 12.91 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.3682, allocations: 24.91 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3684, allocations: 176.2 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3684, allocations: 384 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.3684, allocations: 4.375 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.3687, allocations: 85.94 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3687, allocations: 3.984 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3687, allocations: 4 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3687, allocations: 0 / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.369, allocations: 67.88 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.3695, allocations: 336.5 kB / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3698, allocations: 70.53 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3699, allocations: 36.94 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3699, allocations: 3.984 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.37, allocations: 38.56 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.37, allocations: 0 / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004993/0.3705, allocations: 133.5 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.3705, allocations: 51.41 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3706, allocations: 121.8 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3707, allocations: 25.7 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.3707, allocations: 100 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3708, allocations: 11.78 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.3708, allocations: 17.7 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.371, allocations: 326.8 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3712, allocations: 31.98 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3713, allocations: 31.97 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.3716, allocations: 60.81 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3716, allocations: 0 / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003065/0.372, allocations: 117.5 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.372, allocations: 4 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.372, allocations: 0 / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.372, allocations: 0 / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3721, allocations: 19.97 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3722, allocations: 0 / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.3723, allocations: 8 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3723, allocations: 3.984 kB / 1.024 GB, free: 4.648 MB / 0.795 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 7.986e-05/0.3724, allocations: 118.4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3724, allocations: 4 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.3724, allocations: 7.906 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3724, allocations: 0 / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3725, allocations: 11.94 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3725, allocations: 4 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3727, allocations: 185.6 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3727, allocations: 3.984 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3728, allocations: 15.98 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.3728, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3728, allocations: 8.25 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3728, allocations: 0 / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3728, allocations: 0 / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3732, allocations: 211.3 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3732, allocations: 81.02 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3733, allocations: 4 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3734, allocations: 8 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.3734, allocations: 3.984 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3734, allocations: 8 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.3735, allocations: 91.27 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3735, allocations: 0 / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002547/0.3738, allocations: 24 kB / 1.024 GB, free: 3.777 MB / 0.795 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.0002024/0.374, allocations: 139.1 kB / 1.025 GB, free: 3.629 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.3743, allocations: 75.88 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3743, allocations: 0 / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3744, allocations: 35.97 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3747, allocations: 11.88 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.3751, allocations: 159.3 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3754, allocations: 0.6884 MB / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.3755, allocations: 15.98 kB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.3755, allocations: 15.42 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of SimCode: time 1.463e-06/0.3755, allocations: 0 / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of Templates: time 0.003343/0.3789, allocations: 1.079 MB / 1.027 GB, free: 1.504 MB / 0.795 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 -s cvode -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/jenkins1/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