Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001627/0.001627, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 181.5 kB / 16.66 MB, free: 6.602 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.89 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3665, allocations: 159.1 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003245/0.3698, allocations: 1.531 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3713, allocations: 0.7673 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.3714, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.3714, allocations: 3.938 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.664e-05/0.3715, allocations: 11.92 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.372, allocations: 91.64 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3721, allocations: 59.72 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3722, allocations: 11.98 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3724, allocations: 23.86 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/0.3725, allocations: 27.92 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3725, allocations: 0 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.3727, allocations: 67.94 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.3727, allocations: 15.92 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.3727, allocations: 19.88 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.373, allocations: 99.62 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.373, allocations: 4 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.373, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.373, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 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.0005957/0.3736, allocations: 375 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3737, allocations: 12.03 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.374, allocations: 28.91 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3741, allocations: 176.2 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3742, allocations: 4.375 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3742, allocations: 4.375 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3744, allocations: 81.69 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3745, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3745, allocations: 12 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3745, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.3747, allocations: 59.94 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.3754, allocations: 328.8 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3756, allocations: 74.47 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3758, allocations: 36.92 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3758, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.3759, allocations: 42.56 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.3759, allocations: 0 / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006046/0.3765, allocations: 129.6 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3765, allocations: 51.41 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3766, allocations: 125.8 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3767, allocations: 33.64 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.3767, allocations: 88.14 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3768, allocations: 15.83 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.3768, allocations: 17.7 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.377, allocations: 326.8 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3771, allocations: 31.97 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3773, allocations: 31.98 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.3775, allocations: 64.8 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3775, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003299/0.3778, allocations: 109.6 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3779, allocations: 4 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.3779, allocations: 0 / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3779, allocations: 0 / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3781, allocations: 23.91 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3781, allocations: 0 / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.3782, allocations: 7.984 kB / 1.225 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3782, allocations: 0 / 1.225 GB, free: 8.543 MB / 0.9825 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 0.00011/0.3783, allocations: 121.8 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3783, allocations: 7.953 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.3784, allocations: 4.234 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3784, allocations: 3.984 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3784, allocations: 4 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3784, allocations: 3.984 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.3786, allocations: 189.6 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3786, allocations: 0 / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3788, allocations: 19.98 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3788, allocations: 0 / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3788, allocations: 7.984 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3788, allocations: 0 / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3788, allocations: 0 / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.3792, allocations: 211.3 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.3792, allocations: 77.11 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3793, allocations: 4 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3794, allocations: 7.984 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.3794, allocations: 7.938 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3794, allocations: 7.984 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.408e-05/0.3795, allocations: 91.66 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3795, allocations: 0 / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002994/0.3798, allocations: 27.92 kB / 1.226 GB, free: 7.66 MB / 0.9825 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.0002288/0.38, allocations: 135.1 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.3804, allocations: 71.88 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3804, allocations: 0 / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3805, allocations: 47.91 kB / 1.226 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3809, allocations: 7.938 kB / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.3813, allocations: 170.9 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3816, allocations: 0.6846 MB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.3817, allocations: 19.97 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.3817, allocations: 11.44 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of SimCode: time 6.62e-07/0.3817, allocations: 4 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of Templates: time 0.004087/0.3858, allocations: 1.08 MB / 1.228 GB, free: 5.391 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches