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.001542/0.001542, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001513/0.001513, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.512/2.512, allocations: 437.1 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 64.78 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 151.6 MB / 1.018 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003024/0.3037, allocations: 1.593 MB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.305, allocations: 0.7527 MB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.3051, allocations: 3.938 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.3051, allocations: 7.922 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.3053, allocations: 15.86 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3057, allocations: 75.8 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3058, allocations: 51.8 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.3059, allocations: 11.98 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.306, allocations: 31.91 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.3061, allocations: 27.86 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3061, allocations: 7.938 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3063, allocations: 63.95 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.3063, allocations: 11.97 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.3063, allocations: 19.88 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3065, allocations: 68.12 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3065, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3065, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3065, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 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.0005745/0.3071, allocations: 381.5 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3071, allocations: 8.922 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.3075, allocations: 20.91 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3076, allocations: 172.2 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3077, allocations: 8.312 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3077, allocations: 384 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.308, allocations: 89.75 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.308, allocations: 0 / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.308, allocations: 3.938 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.308, allocations: 0 / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.3083, allocations: 67.94 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3089, allocations: 324.5 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3091, allocations: 70.53 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3093, allocations: 44.92 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3093, allocations: 11.92 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3094, allocations: 30.56 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3094, allocations: 0 / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005454/0.3099, allocations: 133.6 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.31, allocations: 55.41 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3101, allocations: 121.8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3101, allocations: 25.7 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.3102, allocations: 88.05 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.3102, allocations: 15.84 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3103, allocations: 17.7 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3105, allocations: 322.8 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3106, allocations: 39.97 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3107, allocations: 31.86 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.311, allocations: 64.81 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.311, allocations: 0 / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/0.3113, allocations: 109.5 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3114, allocations: 8 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3114, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3114, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3116, allocations: 15.97 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3116, allocations: 4 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.3117, allocations: 12.27 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3117, allocations: 3.984 kB / 1.022 GB, free: 5.758 MB / 0.795 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.0001143/0.3118, allocations: 122.2 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.3119, allocations: 0 / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.3119, allocations: 11.89 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3119, allocations: 0 / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3119, allocations: 0 / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3119, allocations: 3.984 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.3122, allocations: 193.6 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3122, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3123, allocations: 15.98 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.3123, allocations: 4 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3123, allocations: 3.984 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3124, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3124, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.3127, allocations: 207.3 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.3128, allocations: 81.02 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3128, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.313, allocations: 11.92 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.313, allocations: 4 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.313, allocations: 4 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.078e-05/0.3131, allocations: 99.7 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3131, allocations: 0 / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002717/0.3134, allocations: 27.98 kB / 1.023 GB, free: 4.887 MB / 0.795 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.0002169/0.3136, allocations: 119.2 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.314, allocations: 75.88 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.314, allocations: 4 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3141, allocations: 43.91 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3144, allocations: 16.31 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.3149, allocations: 204.9 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3152, allocations: 0.6846 MB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.3153, allocations: 23.34 kB / 1.024 GB, free: 3.656 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3153, allocations: 4 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of Templates: time 0.003184/0.3185, allocations: 1.288 MB / 1.026 GB, free: 2.367 MB / 0.795 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=400 -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