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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001663/0.001669, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001453/0.001453, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.503/1.503, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 482.4 MB / 0.7543 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 69.64 kB / 0.9233 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3519, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002874/0.3549, allocations: 1.603 MB / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3561, allocations: 0.7519 MB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.3562, allocations: 0 / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.3562, allocations: 7.938 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.3563, allocations: 11.86 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3567, allocations: 79.8 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.3568, allocations: 51.8 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3569, allocations: 15.97 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.357, allocations: 23.94 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.3571, allocations: 31.84 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3571, allocations: 7.938 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3573, allocations: 63.94 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.3573, allocations: 4 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.3574, allocations: 27.8 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3575, allocations: 104 kB / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3576, allocations: 0 / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3576, allocations: 0 / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3576, allocations: 0 / 1.084 GB, free: 10.83 MB / 0.8419 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.0005181/0.3581, allocations: 371.3 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3581, allocations: 12.02 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.3585, allocations: 24.81 kB / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3586, allocations: 172.2 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3586, allocations: 4.375 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3587, allocations: 4.375 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3589, allocations: 85.94 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3589, allocations: 0 / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.359, allocations: 4 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.359, allocations: 0 / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3592, allocations: 67.88 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.3598, allocations: 324.6 kB / 1.085 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.36, allocations: 66.53 kB / 1.086 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3602, allocations: 40.94 kB / 1.086 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3602, allocations: 3.984 kB / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3602, allocations: 38.5 kB / 1.086 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3602, allocations: 0 / 1.086 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005279/0.3608, allocations: 141.5 kB / 1.086 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3608, allocations: 51.41 kB / 1.086 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.361, allocations: 117.8 kB / 1.086 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.361, allocations: 29.64 kB / 1.086 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.361, allocations: 92.11 kB / 1.086 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.3611, allocations: 15.84 kB / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.3611, allocations: 17.7 kB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3613, allocations: 326.8 kB / 1.086 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3614, allocations: 35.98 kB / 1.086 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3616, allocations: 35.91 kB / 1.086 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3618, allocations: 64.81 kB / 1.087 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3618, allocations: 0 / 1.087 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003139/0.3621, allocations: 105.5 kB / 1.087 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3622, allocations: 8 kB / 1.087 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3622, allocations: 0 / 1.087 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3622, allocations: 0 / 1.087 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3623, allocations: 15.97 kB / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3623, allocations: 4 kB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.3624, allocations: 8 kB / 1.087 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3625, allocations: 3.984 kB / 1.087 GB, free: 8.363 MB / 0.8419 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.0001119/0.3626, allocations: 125.7 kB / 1.087 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3626, allocations: 3.906 kB / 1.087 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.3627, allocations: 11.91 kB / 1.087 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3627, allocations: 4 kB / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3627, allocations: 0 / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3627, allocations: 0 / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.3629, allocations: 189.6 kB / 1.087 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3629, allocations: 3.984 kB / 1.087 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.363, allocations: 11.98 kB / 1.087 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3631, allocations: 0 / 1.087 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3631, allocations: 7.984 kB / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3631, allocations: 0 / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3631, allocations: 0 / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3635, allocations: 207.3 kB / 1.087 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.3635, allocations: 77.11 kB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3635, allocations: 0 / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3637, allocations: 8 kB / 1.087 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.3637, allocations: 15.92 kB / 1.087 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3637, allocations: 3.938 kB / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.099e-05/0.3638, allocations: 95.27 kB / 1.087 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3638, allocations: 0 / 1.087 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002647/0.3641, allocations: 24 kB / 1.087 GB, free: 7.492 MB / 0.8419 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.0002147/0.3643, allocations: 123.2 kB / 1.088 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.3647, allocations: 76.31 kB / 1.088 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3647, allocations: 0 / 1.088 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3648, allocations: 43.91 kB / 1.088 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3652, allocations: 11.03 kB / 1.088 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.3656, allocations: 187 kB / 1.088 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.366, allocations: 0.6808 MB / 1.088 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.536e-05/0.3661, allocations: 19.97 kB / 1.089 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3661, allocations: 15.42 kB / 1.089 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3662, allocations: 0 / 1.089 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.003625/0.3698, allocations: 1.047 MB / 1.09 GB, free: 5.246 MB / 0.8419 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=400 -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