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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001671/0.001671, allocations: 189.7 kB / 16.25 MB, free: 6.645 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.453 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.449/2.449, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5119, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002493/0.5144, allocations: 1.596 MB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.5155, allocations: 0.7527 MB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.5155, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.5156, allocations: 7.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.5157, allocations: 11.91 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.516, allocations: 75.8 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.124e-05/0.5161, allocations: 55.73 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.5162, allocations: 8 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.5163, allocations: 35.86 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.5163, allocations: 23.91 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5164, allocations: 4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.5165, allocations: 67.94 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.5165, allocations: 7.922 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.5166, allocations: 31.8 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.5167, allocations: 90.08 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5167, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5168, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5168, allocations: 3.938 kB / 1.02 GB, free: 15.94 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.0004286/0.5172, allocations: 375.2 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5172, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.5173, allocations: 42.73 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.5176, allocations: 20.91 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.5177, allocations: 176.2 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.5177, allocations: 384 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.5177, allocations: 4.375 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.518, allocations: 93.69 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.518, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.518, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.518, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.5183, allocations: 67.95 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.5187, allocations: 324.5 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.519, allocations: 82.45 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.5191, allocations: 36.94 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5192, allocations: 7.984 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.5192, allocations: 30.56 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5192, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004893/0.5197, allocations: 133.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.5197, allocations: 55.34 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.5198, allocations: 117.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.5198, allocations: 25.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.5199, allocations: 96.03 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.5199, allocations: 11.84 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.52, allocations: 17.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.5201, allocations: 330.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.5202, allocations: 23.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.5203, allocations: 31.97 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.5206, allocations: 68.81 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5206, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003003/0.5209, allocations: 109.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5209, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.5209, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5209, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.5211, allocations: 23.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.5211, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.5212, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.5212, allocations: 7.922 kB / 1.022 GB, free: 13.42 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 7.33e-05/0.5213, allocations: 118.3 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.5213, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.5214, allocations: 3.906 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5214, allocations: 8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5214, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5214, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.5216, allocations: 189.5 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5216, allocations: 3.984 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5217, allocations: 15.98 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5217, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5217, allocations: 7.984 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5217, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5217, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.5221, allocations: 203.3 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.5221, allocations: 85.38 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.5222, allocations: 8 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.5223, allocations: 8 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.5223, allocations: 3.984 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.5223, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.5224, allocations: 103.6 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5224, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002595/0.5227, allocations: 28 kB / 1.023 GB, free: 12.54 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.0006478/0.5233, allocations: 0.7709 MB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.5236, allocations: 71.92 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5236, allocations: 8 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.5238, allocations: 35.97 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.5241, allocations: 0 / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.5246, allocations: 224.7 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.5248, allocations: 0.6846 MB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.93e-05/0.5249, allocations: 15.98 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.525, allocations: 23.42 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.525, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3799/0.9049, allocations: 1.991 MB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.9051, allocations: 215.3 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.34, allocations: 0 / 1.027 GB, free: 8.488 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