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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008224/0.008224, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.451/2.451, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002984, allocations: 11.98 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5371, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001622/0.5387, allocations: 1.251 MB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.5399, allocations: 0.7568 MB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.5399, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.5399, allocations: 3.938 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.54, allocations: 11.94 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.5403, allocations: 67.8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.5404, allocations: 59.72 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.5405, allocations: 11.89 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.5406, allocations: 23.92 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.5407, allocations: 23.86 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.5407, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.5408, allocations: 63.94 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.5409, allocations: 11.92 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.5409, allocations: 45.58 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.5411, allocations: 98.05 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5411, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5411, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5411, allocations: 3.938 kB / 1.026 GB, free: 13.36 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.0004275/0.5415, allocations: 371.4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5416, allocations: 8.031 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.5416, allocations: 34.73 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.5419, allocations: 28.75 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.542, allocations: 176.2 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.542, allocations: 8.375 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.5421, allocations: 384 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.5423, allocations: 85.77 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.5423, allocations: 3.938 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5423, allocations: 7.984 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.5424, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.5426, allocations: 71.95 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.5431, allocations: 320.6 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.5434, allocations: 74.53 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.5435, allocations: 48.86 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.5435, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5436, allocations: 34.56 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5436, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005201/0.5441, allocations: 149.5 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.5441, allocations: 55.41 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.5442, allocations: 113.8 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5443, allocations: 25.7 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.5443, allocations: 92.14 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.5443, allocations: 11.83 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.5444, allocations: 9.719 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5445, allocations: 326.8 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5446, allocations: 39.91 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.5447, allocations: 31.97 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.545, allocations: 76.81 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.545, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000319/0.5453, allocations: 121.5 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5454, allocations: 4 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5454, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.5454, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.5455, allocations: 19.98 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5455, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.5456, allocations: 15.98 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.5456, allocations: 3.938 kB / 1.028 GB, free: 10.8 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 8.466e-05/0.5457, allocations: 122.3 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.5458, allocations: 3.906 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.5458, allocations: 7.906 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5458, allocations: 336 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5458, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5458, allocations: 4 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.546, allocations: 201.5 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.546, allocations: 3.938 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.5461, allocations: 23.97 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5462, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.5462, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5462, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5462, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.5465, allocations: 207.4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.5466, allocations: 88.95 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.5466, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5467, allocations: 11.98 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.5468, allocations: 7.984 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5468, allocations: 4 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.5468, allocations: 99.58 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5468, allocations: 4 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002484/0.5471, allocations: 24 kB / 1.029 GB, free: 9.902 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.0006656/0.5478, allocations: 0.7631 MB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.5481, allocations: 87.88 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5481, allocations: 0 / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.5483, allocations: 43.95 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5485, allocations: 4 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.549, allocations: 228.2 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.5493, allocations: 0.6809 MB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.567e-05/0.5494, allocations: 19.98 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.5494, allocations: 27.41 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.5494, allocations: 0 / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2677/0.8172, allocations: 1.874 MB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.8174, allocations: 206.6 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.64, allocations: 4 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > 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) Reference file matches