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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001585/0.001585, allocations: 216.8 kB / 22.25 MB, free: 5.125 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.953 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.778/2.778, allocations: 476.7 MB / 0.7707 GB, free: 4.207 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.002111/0.002111, allocations: 66.25 kB / 1.117 GB, free: 39.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3156, allocations: 170 MB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003215/0.3188, allocations: 1.794 MB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.319, allocations: 71.75 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.3191, allocations: 4 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.22e-05/0.3191, allocations: 11.86 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.3192, allocations: 15.8 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.716e-05/0.3193, allocations: 31.97 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3194, allocations: 107.7 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3196, allocations: 45.03 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.3196, allocations: 43.91 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3197, allocations: 59.69 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3197, allocations: 8 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.3197, allocations: 12 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.3198, allocations: 23.92 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.3198, allocations: 47.73 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.32, allocations: 111.7 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.32, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.32, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.32, allocations: 7.938 kB / 1.286 GB, free: 8.93 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.0006737/0.3207, allocations: 353.9 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3207, allocations: 8.031 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.3208, allocations: 46.73 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.3208, allocations: 12.84 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.321, allocations: 142.3 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.321, allocations: 8.375 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.321, allocations: 8.375 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.3214, allocations: 127.8 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3214, allocations: 3.938 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3214, allocations: 4 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.3215, allocations: 4 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.3219, allocations: 127.8 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.3225, allocations: 347.6 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.3228, allocations: 90.52 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.323, allocations: 56.92 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.323, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3231, allocations: 34.56 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3231, allocations: 4 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007431/0.3238, allocations: 201.5 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3239, allocations: 55.41 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.324, allocations: 124.4 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.324, allocations: 29.7 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3241, allocations: 108 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3241, allocations: 15.86 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.3241, allocations: 21.7 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3243, allocations: 318.8 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3245, allocations: 51.94 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3247, allocations: 51.94 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.3251, allocations: 112.7 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3251, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004403/0.3255, allocations: 137.5 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3256, allocations: 4 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3256, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3256, allocations: 7.938 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3257, allocations: 31.97 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3258, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3259, allocations: 23.91 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3259, allocations: 0 / 1.288 GB, free: 6.117 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 9.727e-05/0.326, allocations: 117.8 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.326, allocations: 7.953 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.326, allocations: 28.23 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.326, allocations: 12.36 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3261, allocations: 0 / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3261, allocations: 0 / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.3263, allocations: 172.7 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3263, allocations: 0 / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.3264, allocations: 23.97 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3264, allocations: 4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3264, allocations: 3.938 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3264, allocations: 4 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3264, allocations: 0 / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.3269, allocations: 235.4 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3269, allocations: 11.95 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.327, allocations: 3.938 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3271, allocations: 27.91 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.3271, allocations: 7.922 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3271, allocations: 4 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.3272, allocations: 99.27 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3272, allocations: 0 / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002344/0.3275, allocations: 19.89 kB / 1.289 GB, free: 5.273 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.0008391/0.3283, allocations: 0.7692 MB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.3288, allocations: 115.8 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3288, allocations: 0 / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.329, allocations: 55.94 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3293, allocations: 12 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.3317, allocations: 1.598 MB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.332, allocations: 0.6924 MB / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.779e-05/0.3321, allocations: 11.98 kB / 1.292 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.3321, allocations: 27.44 kB / 1.292 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.3321, allocations: 0 / 1.292 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3608, allocations: 2.374 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.48, allocations: 6.938 kB / 1.295 GB, free: 15.63 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.965664565001134]