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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001079/0.001079, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004219, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7529, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001812/0.7548, allocations: 1.259 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.756, allocations: 0.7529 MB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.7561, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.7561, allocations: 7.922 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.7562, allocations: 7.922 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.7565, allocations: 75.8 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.635e-05/0.7566, allocations: 55.73 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.7567, allocations: 15.98 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.7568, allocations: 19.86 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.7569, allocations: 31.84 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.7569, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.7571, allocations: 59.95 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.7571, allocations: 7.938 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.7571, allocations: 49.55 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.7573, allocations: 65.88 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7573, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7573, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7573, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.7794 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.0004516/0.7578, allocations: 371.3 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7578, allocations: 8.031 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.7581, allocations: 36.8 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.7583, allocations: 172.2 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.7583, allocations: 384 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.7583, allocations: 384 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.7586, allocations: 89.94 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.7586, allocations: 0 / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.7586, allocations: 3.938 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.7586, allocations: 7.938 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.7589, allocations: 71.95 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.7595, allocations: 328.6 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.7597, allocations: 74.53 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.7599, allocations: 44.94 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.7599, allocations: 3.938 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.76, allocations: 34.55 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.76, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005374/0.7605, allocations: 153.5 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.7606, allocations: 51.41 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7607, allocations: 117.8 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.7607, allocations: 29.7 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.7608, allocations: 92.12 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.7608, allocations: 3.906 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.7608, allocations: 17.72 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.761, allocations: 318.8 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.7611, allocations: 31.98 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.7612, allocations: 47.91 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.7615, allocations: 68.81 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7615, allocations: 4 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003177/0.7618, allocations: 113.5 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.7619, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7619, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7619, allocations: 3.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.762, allocations: 23.97 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7621, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.7621, allocations: 8.328 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.7622, allocations: 3.984 kB / 1.028 GB, free: 10.96 MB / 0.7794 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.725e-05/0.7623, allocations: 121.7 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.7623, allocations: 7.906 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.7624, allocations: 15.89 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7624, allocations: 7.938 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7624, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7624, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.7626, allocations: 193.5 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7626, allocations: 3.984 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.7627, allocations: 15.98 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7627, allocations: 0 / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.7628, allocations: 11.98 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7628, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7628, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.7632, allocations: 207.4 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.7632, allocations: 85.02 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.7633, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.7634, allocations: 11.94 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.7634, allocations: 3.984 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.7635, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.7635, allocations: 95.27 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7635, allocations: 0 / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002775/0.7638, allocations: 35.98 kB / 1.029 GB, free: 10.06 MB / 0.7794 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.0002316/0.764, allocations: 127.2 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.7644, allocations: 75.94 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7644, allocations: 0 / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.7645, allocations: 43.97 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.7648, allocations: 11.88 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.7652, allocations: 220.2 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.7655, allocations: 0.6809 MB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.7655, allocations: 15.42 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7655, allocations: 0 / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of Templates: time 0.003037/0.7686, allocations: 1.291 MB / 1.031 GB, free: 7.535 MB / 0.7794 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) "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time