Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",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.001103/0.001103, 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.00106/0.00106, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.493/2.493, allocations: 437.1 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 63.91 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4831, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002631/0.4858, allocations: 1.754 MB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.4859, allocations: 83.69 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.486, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.486, allocations: 11.86 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.4861, allocations: 19.8 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.776e-05/0.4862, allocations: 35.95 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.4863, allocations: 103.7 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.4864, allocations: 45.11 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.4865, allocations: 43.84 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.4866, allocations: 55.75 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.4866, allocations: 8 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.716e-05/0.4866, allocations: 12 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.4867, allocations: 27.92 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.4867, allocations: 51.67 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.4868, allocations: 109.9 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4869, allocations: 0 / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4869, allocations: 0 / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.4869, allocations: 0 / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006165/0.4875, allocations: 438.9 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4875, allocations: 15.98 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.4876, allocations: 42.73 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.4876, allocations: 16.78 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4878, allocations: 188.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.4878, allocations: 8.375 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.4878, allocations: 12.38 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.4882, allocations: 123.9 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4882, allocations: 7.875 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4882, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4882, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.4887, allocations: 123.9 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.4892, allocations: 384.4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.4895, allocations: 94.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.4898, allocations: 64.86 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.4898, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.4898, allocations: 34.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.4898, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007596/0.4906, allocations: 193.4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.4906, allocations: 55.41 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.4907, allocations: 131.2 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.4907, allocations: 25.7 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.4908, allocations: 111.9 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4908, allocations: 11.8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.4909, allocations: 17.72 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.491, allocations: 322.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.4912, allocations: 51.95 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.4914, allocations: 51.94 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.4919, allocations: 112.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4919, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004767/0.4923, allocations: 137.5 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4924, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4924, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4924, allocations: 3.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.4926, allocations: 35.95 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.4926, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4927, allocations: 15.92 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4927, allocations: 7.938 kB / 1.022 GB, free: 13.12 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 (6): * Single equations (assignments): 6 * 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.37e-05/0.4928, allocations: 125.8 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.4928, allocations: 7.906 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.4928, allocations: 16.75 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4929, allocations: 3.984 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4929, allocations: 4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4929, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.4931, allocations: 201.6 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4931, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.4932, allocations: 23.97 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4932, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4932, allocations: 7.938 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4933, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4933, allocations: 3.938 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.4938, allocations: 239.3 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.4938, allocations: 85.02 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4938, allocations: 11.94 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.494, allocations: 15.97 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.494, allocations: 11.98 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.494, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.4941, allocations: 92.53 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4941, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002359/0.4943, allocations: 23.84 kB / 1.023 GB, free: 12.16 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 (6): * Single equations (assignments): 6 * 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.0007248/0.4951, allocations: 0.7709 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.4956, allocations: 115.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4956, allocations: 4 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.4958, allocations: 55.94 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.4961, allocations: 19.97 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4982, allocations: 1.582 MB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.4985, allocations: 0.6963 MB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.4985, allocations: 4 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.4986, allocations: 31.42 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.4986, allocations: 0 / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.5142, allocations: 2.21 MB / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.436, allocations: 17.12 kB / 1.029 GB, free: 6.633 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches