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.001435/0.001435, allocations: 112.7 kB / 16.42 MB, free: 6.477 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.001568/0.001568, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.482/2.482, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 68.11 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7393, 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.002605/0.7419, allocations: 1.538 MB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.7431, allocations: 0.7605 MB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.7432, allocations: 0 / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.7433, allocations: 3.938 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.7434, allocations: 19.86 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.7438, allocations: 85.2 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.7439, allocations: 55.73 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.744, allocations: 4 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.58e-05/0.7441, allocations: 31.84 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.7442, allocations: 31.91 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.7442, allocations: 4 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.7444, allocations: 63.94 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.7444, allocations: 7.938 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.7444, allocations: 27.86 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.7446, allocations: 100.2 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.7446, allocations: 0 / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7446, allocations: 0 / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.7447, allocations: 0 / 1.17 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.0004506/0.7451, allocations: 383 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.7452, allocations: 8.625 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.7455, allocations: 28.89 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.7456, allocations: 168.3 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.7456, allocations: 12.31 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.7457, allocations: 384 / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.7459, allocations: 89.94 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.7459, allocations: 0 / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.7459, allocations: 4 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.746, allocations: 0 / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.7462, allocations: 59.95 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.7468, allocations: 324.8 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.747, allocations: 74.41 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.7472, allocations: 36.94 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.7472, allocations: 4 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7472, allocations: 38.55 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.7472, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005089/0.7478, allocations: 137.5 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.7478, allocations: 51.41 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.7479, allocations: 125.8 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.7479, allocations: 25.7 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.748, allocations: 92.12 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.748, allocations: 7.953 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.748, allocations: 17.7 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.7481, allocations: 318.8 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.7483, allocations: 35.98 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.7484, allocations: 35.91 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.7487, allocations: 68.75 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7487, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003153/0.749, allocations: 113.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.749, allocations: 10.5 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.749, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7491, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.7492, allocations: 15.97 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.7492, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.7493, allocations: 8 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.7493, allocations: 11.97 kB / 1.172 GB, free: 14.62 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 7.764e-05/0.7494, allocations: 121.7 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.7495, allocations: 3.953 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.7495, allocations: 11.91 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7495, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7495, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.7496, allocations: 81.11 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.7496, allocations: 3.984 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.7497, allocations: 8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.7498, allocations: 7.922 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004042/0.7502, allocations: 184.8 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003819/0.7506, allocations: 282.7 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001412/0.7507, allocations: 31.97 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.7508, allocations: 95.27 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of Backend: time 4.4e-07/0.7508, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.7513, allocations: 151.2 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004866/0.7518, allocations: 0.609 MB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.003965/0.7558, allocations: 1.549 MB / 1.175 GB, free: 11.39 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/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