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: "" <> 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.001497/0.001497, 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.001765/0.001765, allocations: 194.3 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.368/2.368, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.492, 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.002517/0.4946, allocations: 1.535 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.4956, allocations: 0.7604 MB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.4957, allocations: 0 / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.4957, allocations: 7.938 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.4958, allocations: 15.86 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.4962, allocations: 87.66 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.4962, allocations: 55.72 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.079e-05/0.4963, allocations: 15.91 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.4964, allocations: 24.05 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.4965, allocations: 27.91 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.4965, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.4967, allocations: 59.94 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.4967, allocations: 11.94 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.4967, allocations: 23.86 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.4969, allocations: 97.94 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4969, allocations: 7.938 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4969, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.4969, allocations: 0 / 1.02 GB, free: 15.76 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.0004011/0.4973, allocations: 375.2 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.4974, allocations: 12.03 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.4974, allocations: 38.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.4977, allocations: 20.91 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.4978, allocations: 172.2 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.4978, allocations: 4.375 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.4978, allocations: 8.359 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.4981, allocations: 85.75 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4981, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4981, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4981, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.4984, allocations: 71.88 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.4988, allocations: 328.5 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.4991, allocations: 70.53 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4992, allocations: 44.92 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.4993, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.4993, allocations: 34.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.4993, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004959/0.4998, allocations: 137.6 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.4998, allocations: 51.41 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.4999, allocations: 117.8 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.4999, allocations: 29.69 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.5, allocations: 88.05 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.5, allocations: 11.91 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.5, allocations: 17.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.5001, allocations: 330.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.5003, allocations: 23.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.5004, allocations: 35.97 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.5007, allocations: 72.75 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5007, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003071/0.501, allocations: 101.6 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.501, allocations: 8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.501, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.501, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.5012, allocations: 19.97 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.5012, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.5013, allocations: 11.91 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5013, allocations: 3.984 kB / 1.022 GB, free: 13.24 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 6.93e-05/0.5014, allocations: 117.8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.5014, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.5014, allocations: 7.906 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5015, allocations: 7.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5015, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.5015, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.5016, allocations: 197.5 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5017, allocations: 336 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.5018, allocations: 11.98 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5018, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5018, allocations: 11.98 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5018, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5018, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.5022, allocations: 211.3 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.5022, allocations: 81.02 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.5022, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5023, allocations: 8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.5024, allocations: 11.98 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.5024, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.774e-05/0.5025, allocations: 107.1 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5025, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000249/0.5027, allocations: 31.92 kB / 1.023 GB, free: 12.35 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.000641/0.5034, allocations: 0.7592 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.5037, allocations: 75.88 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5037, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.5039, allocations: 39.97 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.5041, allocations: 5.562 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.5046, allocations: 204.8 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.5048, allocations: 0.6885 MB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.5049, allocations: 15.98 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.505, allocations: 23.42 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.505, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.592/3.097, allocations: 2.118 MB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/14.67, allocations: 9.906 kB / 1.027 GB, free: 8.406 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