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.001114/0.001114, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001164/0.001164, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 76.11 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7441, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002579/0.7467, allocations: 1.537 MB / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.7479, allocations: 0.7527 MB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.748, allocations: 4 kB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.7481, allocations: 3.938 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.7481, allocations: 19.84 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.7486, allocations: 87.66 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.7487, allocations: 51.73 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.7488, allocations: 19.98 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.7489, allocations: 23.86 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.749, allocations: 23.91 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.749, allocations: 4 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.7492, allocations: 71.94 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.7492, allocations: 11.94 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.7493, allocations: 19.86 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.7494, allocations: 91.62 kB / 1.224 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7495, allocations: 0 / 1.224 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7495, allocations: 11.94 kB / 1.224 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7495, allocations: 0 / 1.224 GB, free: 15.63 MB / 0.9512 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.0005023/0.75, allocations: 373.1 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.75, allocations: 12.03 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.7504, allocations: 24.81 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7505, allocations: 176.2 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.7505, allocations: 4.375 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.7506, allocations: 4.375 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.7508, allocations: 85.88 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.7508, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.7508, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.7509, allocations: 4 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.7511, allocations: 67.94 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.7517, allocations: 316.7 kB / 1.225 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.7519, allocations: 78.47 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.7521, allocations: 36.94 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.7521, allocations: 7.984 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.7521, allocations: 30.56 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.7521, allocations: 0 / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005535/0.7527, allocations: 141.7 kB / 1.225 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.7527, allocations: 51.41 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.7528, allocations: 121.8 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.7529, allocations: 25.7 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.7529, allocations: 92.12 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.7529, allocations: 11.75 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.753, allocations: 25.64 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.7531, allocations: 326.8 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.7532, allocations: 27.92 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.7534, allocations: 35.97 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.7536, allocations: 72.75 kB / 1.226 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7536, allocations: 0 / 1.226 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003216/0.754, allocations: 101.6 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.754, allocations: 4 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.754, allocations: 0 / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.754, allocations: 0 / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.7542, allocations: 31.91 kB / 1.226 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7542, allocations: 0 / 1.226 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.7543, allocations: 4 kB / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.7543, allocations: 7.984 kB / 1.226 GB, free: 13.16 MB / 0.9512 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.676e-05/0.7544, allocations: 110.3 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.7544, allocations: 7.906 kB / 1.226 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.7545, allocations: 15.89 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7545, allocations: 4 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7545, allocations: 4 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.7545, allocations: 85.03 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.7546, allocations: 0 / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.7547, allocations: 4 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.7547, allocations: 15.92 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004156/0.7552, allocations: 184.9 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003807/0.7555, allocations: 274.6 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001437/0.7557, allocations: 39.97 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.7558, allocations: 91.27 kB / 1.227 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of Backend: time 2.01e-07/0.7558, allocations: 0 / 1.227 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.7563, allocations: 150.3 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004943/0.7568, allocations: 0.5977 MB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.003894/0.7607, allocations: 1.557 MB / 1.229 GB, free: 9.93 MB / 0.9512 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/jenkins1/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