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.00159/0.00159, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001559/0.001559, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.464/2.464, allocations: 437.1 MB / 0.711 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002014, allocations: 69.91 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3036, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003003/0.3066, allocations: 1.519 MB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3079, allocations: 0.7696 MB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.308, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.308, allocations: 3.938 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.3081, allocations: 15.84 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3085, allocations: 96.89 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.984e-05/0.3086, allocations: 51.8 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.3087, allocations: 11.98 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.3088, allocations: 27.86 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.3089, allocations: 23.91 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3089, allocations: 4 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3091, allocations: 71.88 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.3091, allocations: 4 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.3091, allocations: 27.86 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3093, allocations: 100 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3093, allocations: 3.938 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3093, allocations: 0 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3094, allocations: 0 / 1.021 GB, free: 7.848 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.0004961/0.3099, allocations: 371.3 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3099, allocations: 8.922 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.3102, allocations: 28.89 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3104, allocations: 172.2 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3104, allocations: 4.375 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.3104, allocations: 4.312 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.3107, allocations: 85.94 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3107, allocations: 0 / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3107, allocations: 4 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3107, allocations: 4 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.311, allocations: 63.95 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3115, allocations: 328.5 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.3118, allocations: 74.47 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.312, allocations: 36.94 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.312, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.312, allocations: 34.55 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.312, allocations: 4 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005255/0.3126, allocations: 133.6 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3126, allocations: 55.34 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3127, allocations: 121.8 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3128, allocations: 29.7 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.3128, allocations: 95.97 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3128, allocations: 15.84 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.3129, allocations: 17.7 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.313, allocations: 326.7 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3132, allocations: 27.98 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3133, allocations: 35.97 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.3136, allocations: 64.81 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3136, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003295/0.3139, allocations: 113.5 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.314, allocations: 8 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.314, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.314, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3141, allocations: 15.97 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3141, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.3142, allocations: 8 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3143, allocations: 3.984 kB / 1.023 GB, free: 5.375 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.0001015/0.3144, allocations: 122.4 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.3144, allocations: 336 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.3144, allocations: 7.906 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3145, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3145, allocations: 3.984 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3145, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3147, allocations: 197.5 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3147, allocations: 0 / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3148, allocations: 19.97 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3148, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3149, allocations: 7.984 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3149, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3149, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.3153, allocations: 207.3 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.3153, allocations: 85 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3153, allocations: 0 / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3155, allocations: 8 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3155, allocations: 11.98 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.3155, allocations: 0 / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.3156, allocations: 99.2 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3156, allocations: 0 / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002623/0.3159, allocations: 24 kB / 1.024 GB, free: 4.5 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.0001975/0.3161, allocations: 127.2 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.3164, allocations: 75.88 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3164, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.3166, allocations: 43.97 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3169, allocations: 7.938 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.3173, allocations: 188.9 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3177, allocations: 0.6885 MB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3178, allocations: 15.42 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3178, allocations: 0 / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of Templates: time 0.003207/0.321, allocations: 1.295 MB / 1.026 GB, free: 1.996 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=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