Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00167/0.00167, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002178/0.002178, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.498/1.498, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6667, allocations: 140.3 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00254/0.6693, allocations: 1.59 MB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.6704, allocations: 0.7562 MB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.6704, allocations: 0.875 kB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.6705, allocations: 3.938 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.6706, allocations: 10.61 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.6709, allocations: 81.7 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.671, allocations: 54.23 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.6711, allocations: 17.8 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.6712, allocations: 23.03 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.6712, allocations: 28.31 kB / 0.9516 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.6713, allocations: 7 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.6714, allocations: 68.31 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.6714, allocations: 7.938 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.6715, allocations: 28.55 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.6716, allocations: 92.38 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6716, allocations: 0 / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6716, allocations: 1.406 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6717, allocations: 0 / 0.9518 GB, free: 7.086 MB / 0.7169 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.0004141/0.6721, allocations: 375.3 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.6721, allocations: 16.42 kB / 0.9522 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.6724, allocations: 26.41 kB / 0.9522 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.6725, allocations: 176.2 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.6726, allocations: 9.547 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.6726, allocations: 1.531 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.6728, allocations: 85.09 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6728, allocations: 4 kB / 0.9525 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6729, allocations: 4 kB / 0.9525 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6729, allocations: 1 kB / 0.9525 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.6731, allocations: 63.28 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.6735, allocations: 325.1 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.6738, allocations: 72.38 kB / 0.9529 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.6739, allocations: 34.69 kB / 0.9529 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.674, allocations: 13.14 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.674, allocations: 30.56 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.674, allocations: 1.469 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000514/0.6745, allocations: 127 kB / 0.9531 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.6746, allocations: 55.41 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/0.6746, allocations: 116.1 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.6747, allocations: 27.3 kB / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.6747, allocations: 97.56 kB / 0.9534 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.6747, allocations: 9.5 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.6748, allocations: 18.95 kB / 0.9534 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.6749, allocations: 324.3 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.675, allocations: 32.14 kB / 0.9538 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.6751, allocations: 38.62 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.6754, allocations: 60.78 kB / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6754, allocations: 0 / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002975/0.6757, allocations: 106.6 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6757, allocations: 5.406 kB / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6757, allocations: 3.938 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6757, allocations: 1.125 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.6759, allocations: 21.41 kB / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.6759, allocations: 0 / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.676, allocations: 8.75 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.676, allocations: 6.953 kB / 0.954 GB, free: 5.008 MB / 0.7169 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 5.942e-05/0.6761, allocations: 115.2 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.6761, allocations: 6.781 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.6762, allocations: 10.56 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.6762, allocations: 0 / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6762, allocations: 1.375 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6762, allocations: 4.266 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.6763, allocations: 199 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6764, allocations: 4.922 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.6765, allocations: 13.98 kB / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6765, allocations: 0 / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.6765, allocations: 9.281 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6765, allocations: 1.031 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6765, allocations: 0 / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.6769, allocations: 209.5 kB / 0.9545 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.6769, allocations: 78.58 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.6769, allocations: 5.406 kB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.677, allocations: 4.656 kB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.6771, allocations: 5.109 kB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.6771, allocations: 1.469 kB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.6771, allocations: 97.14 kB / 0.9547 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6771, allocations: 0 / 0.9547 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002709/0.6774, allocations: 25.16 kB / 0.9548 GB, free: 4.246 MB / 0.7169 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.0001853/0.6776, allocations: 125.6 kB / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.6779, allocations: 74.5 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6779, allocations: 4 kB / 0.9549 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.6781, allocations: 41.94 kB / 0.955 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.6784, allocations: 6.219 kB / 0.955 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.6788, allocations: 195.7 kB / 0.9552 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.6789, allocations: 0.6806 MB / 0.9558 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.089e-05/0.679, allocations: 21.47 kB / 0.9559 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.679, allocations: 14.39 kB / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.679, allocations: 0 / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.003117/0.6822, allocations: 1.051 MB / 0.9569 GB, free: 2.637 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches