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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006951/0.006951, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001495/0.001495, allocations: 195.3 kB / 16.67 MB, free: 5.52 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 4.078 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.8 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.381, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003362/0.3844, allocations: 1.521 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3858, allocations: 0.76 MB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.3859, allocations: 0 / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.3859, allocations: 7.938 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.386, allocations: 19.84 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.3865, allocations: 91.64 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3866, allocations: 55.73 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3867, allocations: 7.984 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3868, allocations: 31.86 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.3869, allocations: 27.91 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3869, allocations: 4 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3871, allocations: 59.95 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3871, allocations: 11.92 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.3871, allocations: 27.86 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3873, allocations: 99.7 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3873, allocations: 0 / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3873, allocations: 0 / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.3873, allocations: 3.938 kB / 1.21 GB, free: 6.922 MB / 0.9669 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.0005097/0.3879, allocations: 375.3 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3879, allocations: 8.031 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.3882, allocations: 32.81 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3884, allocations: 172.2 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3884, allocations: 4.375 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3884, allocations: 384 / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.3887, allocations: 89.88 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.3887, allocations: 0 / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3887, allocations: 4 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3887, allocations: 0 / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.389, allocations: 63.94 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3895, allocations: 328.8 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3898, allocations: 74.47 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3899, allocations: 40.92 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.39, allocations: 0 / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.39, allocations: 38.56 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.39, allocations: 0 / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000548/0.3906, allocations: 133.5 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.3906, allocations: 51.41 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3908, allocations: 125.8 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3908, allocations: 29.64 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3909, allocations: 88.14 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.3909, allocations: 15.78 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.3909, allocations: 17.7 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3911, allocations: 322.8 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3913, allocations: 39.97 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.3914, allocations: 27.98 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3917, allocations: 60.81 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3917, allocations: 4 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003326/0.392, allocations: 109.5 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.392, allocations: 4 kB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3921, allocations: 0 / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3921, allocations: 0 / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3922, allocations: 23.91 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3923, allocations: 0 / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.3923, allocations: 8 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3924, allocations: 3.984 kB / 1.213 GB, free: 4.449 MB / 0.9669 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 9.814e-05/0.3925, allocations: 117.8 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.3925, allocations: 7.906 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.3926, allocations: 12.22 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3926, allocations: 0 / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3926, allocations: 7.922 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3926, allocations: 11.98 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3928, allocations: 185.6 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3928, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3929, allocations: 15.98 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3929, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.393, allocations: 7.984 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.393, allocations: 0 / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.393, allocations: 0 / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.3934, allocations: 211.3 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.3934, allocations: 77.11 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.3934, allocations: 0 / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3936, allocations: 15.98 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.3936, allocations: 0 / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3936, allocations: 7.938 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.3937, allocations: 95.27 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3937, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002751/0.394, allocations: 27.98 kB / 1.213 GB, free: 3.562 MB / 0.9669 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.0002341/0.3942, allocations: 127.2 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.3946, allocations: 71.94 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3946, allocations: 0 / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3948, allocations: 43.91 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3951, allocations: 8.969 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.3955, allocations: 163 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3958, allocations: 0.6885 MB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.168e-05/0.3959, allocations: 15.98 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.3959, allocations: 15.42 kB / 1.214 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3959, allocations: 0 / 1.214 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of Templates: time 0.00359/0.3995, allocations: 1.076 MB / 1.216 GB, free: 1.305 MB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches