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.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 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.00135/0.00135, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.804/2.804, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7331, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002938/0.736, allocations: 1.534 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.7373, allocations: 0.7566 MB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.7374, allocations: 4 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.7374, allocations: 3.938 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.7376, allocations: 15.86 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.7379, allocations: 87.66 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.738, allocations: 59.72 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.7382, allocations: 8 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.7383, allocations: 24 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.7384, allocations: 27.83 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.7384, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.7386, allocations: 63.94 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.7386, allocations: 15.92 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.7386, allocations: 19.88 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.7389, allocations: 93.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7389, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.2e-06/0.7389, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.7389, allocations: 3.938 kB / 1.02 GB, free: 15.77 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.0005367/0.7394, allocations: 391.1 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7395, allocations: 8.031 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.7398, allocations: 20.91 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.74, allocations: 180.2 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.74, allocations: 384 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.74, allocations: 4.375 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.7403, allocations: 81.95 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7403, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.7403, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7403, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.7406, allocations: 67.94 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.7412, allocations: 332.4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.7415, allocations: 70.53 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.7416, allocations: 40.92 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.7417, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.7417, allocations: 30.56 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.7417, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005705/0.7423, allocations: 141.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.7423, allocations: 55.41 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.7424, allocations: 113.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.7425, allocations: 29.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.7425, allocations: 88.05 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.7426, allocations: 7.891 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.7426, allocations: 25.7 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7428, allocations: 314.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.7429, allocations: 39.91 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.7431, allocations: 35.97 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.7433, allocations: 69.03 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7434, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003392/0.7437, allocations: 101.6 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7437, allocations: 6.188 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.7437, allocations: 7.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.7438, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.7439, allocations: 15.98 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7439, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.744, allocations: 15.89 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.7441, allocations: 4 kB / 1.022 GB, free: 13.29 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.683e-05/0.7442, allocations: 110.4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.7442, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.7442, allocations: 19.88 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7443, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7443, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7443, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.7445, allocations: 201.5 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7445, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.7447, allocations: 19.91 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7447, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.7447, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7447, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7447, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.7451, allocations: 207.3 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.7452, allocations: 85.02 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.7452, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.7453, allocations: 11.92 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.7454, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7454, allocations: 3.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.7454, allocations: 95.7 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7454, allocations: 3.938 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002666/0.7457, allocations: 32 kB / 1.023 GB, free: 12.41 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.0001986/0.7459, allocations: 123.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.7463, allocations: 71.94 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7463, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.7465, allocations: 39.95 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.7467, allocations: 9.656 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.7472, allocations: 171.2 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.7475, allocations: 0.6846 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.84e-05/0.7476, allocations: 19.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.7477, allocations: 15.42 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7477, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.0038/0.7515, allocations: 1.078 MB / 1.025 GB, free: 10.14 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches