Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 101.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.91 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.704, allocations: 169.9 MB / 1.278 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003026/0.707, allocations: 1.78 MB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.7072, allocations: 83.67 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.7072, allocations: 0 / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.7073, allocations: 11.86 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.7073, allocations: 15.81 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.7074, allocations: 35.95 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.7076, allocations: 107.7 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.7077, allocations: 44.88 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.7078, allocations: 43.84 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.7079, allocations: 51.77 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.7079, allocations: 12 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.7079, allocations: 8 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.7079, allocations: 23.92 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.708, allocations: 51.73 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.7082, allocations: 121.4 kB / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7082, allocations: 0 / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7082, allocations: 4 kB / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7082, allocations: 0 / 1.281 GB, free: 11.16 MB / 0.9825 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.0006972/0.7089, allocations: 423 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.7089, allocations: 8.031 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.709, allocations: 46.73 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.709, allocations: 16.84 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.7092, allocations: 200.2 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.7092, allocations: 4.375 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.7092, allocations: 12.31 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.7096, allocations: 122.1 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.7096, allocations: 3.938 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.7096, allocations: 4 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7096, allocations: 8 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.7101, allocations: 119.9 kB / 1.282 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.7107, allocations: 380.5 kB / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.711, allocations: 90.45 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.7113, allocations: 58.66 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.7113, allocations: 4 kB / 1.282 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.7113, allocations: 34.56 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.7113, allocations: 0 / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007948/0.7121, allocations: 197.6 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.7122, allocations: 55.34 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.7123, allocations: 128.5 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.7123, allocations: 25.7 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.7124, allocations: 108 kB / 1.283 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.7124, allocations: 23.8 kB / 1.283 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.7124, allocations: 21.7 kB / 1.283 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7126, allocations: 318.8 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.7128, allocations: 51.88 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.713, allocations: 51.94 kB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.7135, allocations: 113.1 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7135, allocations: 0 / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005136/0.714, allocations: 145.5 kB / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.714, allocations: 4 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.714, allocations: 0 / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.714, allocations: 7.938 kB / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7142, allocations: 23.97 kB / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7142, allocations: 0 / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.7143, allocations: 23.97 kB / 1.283 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.7143, allocations: 0 / 1.283 GB, free: 8.148 MB / 0.9825 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 0.0001338/0.7145, allocations: 120 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.7145, allocations: 7.953 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.7145, allocations: 20.28 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.7145, allocations: 4 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7145, allocations: 0 / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7145, allocations: 0 / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.7148, allocations: 201.6 kB / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7148, allocations: 0 / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.7149, allocations: 31.97 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7149, allocations: 0 / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.7149, allocations: 7.875 kB / 1.284 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.7149, allocations: 3.938 kB / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7149, allocations: 0 / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.7155, allocations: 243.4 kB / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.7155, allocations: 81.06 kB / 1.284 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.7156, allocations: 4.062 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.7157, allocations: 23.97 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.7158, allocations: 8 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.7158, allocations: 0 / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.7158, allocations: 103.2 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7158, allocations: 4 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002374/0.7161, allocations: 15.95 kB / 1.284 GB, free: 7.188 MB / 0.9825 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.0008945/0.717, allocations: 0.7754 MB / 1.285 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.7175, allocations: 107.8 kB / 1.285 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7175, allocations: 3.938 kB / 1.285 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.7177, allocations: 67.88 kB / 1.285 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.718, allocations: 8 kB / 1.285 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.7205, allocations: 1.601 MB / 1.287 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.7209, allocations: 0.7002 MB / 1.287 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.7209, allocations: 3.984 kB / 1.287 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.721, allocations: 27.44 kB / 1.287 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.721, allocations: 0 / 1.287 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.7463, allocations: 2.274 MB / 1.29 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/9.099, allocations: 13.06 kB / 1.29 GB, free: 1.613 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pwr.QSen_flow in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv. Warning: Get data of variable pwr.QSen_flow from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.25558270397596]