Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001856/0.001856, allocations: 103.1 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.002337/0.002337, 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.5/1.5, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.311/3.311, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_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.002113/0.002113, allocations: 82.69 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003277/0.3747, allocations: 1.769 MB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00021/0.3749, allocations: 87.61 kB / 1.35 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.3749, allocations: 4 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.513e-05/0.375, allocations: 15.86 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.3751, allocations: 11.81 kB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.3752, allocations: 31.95 kB / 1.35 GB, free: 8.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3753, allocations: 103.7 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.3755, allocations: 47.27 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.3756, allocations: 47.84 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.3757, allocations: 51.77 kB / 1.35 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3757, allocations: 12 kB / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.3757, allocations: 8 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.3757, allocations: 27.92 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.3758, allocations: 47.73 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.376, allocations: 115.5 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.376, allocations: 0 / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.376, allocations: 0 / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.376, allocations: 4 kB / 1.35 GB, free: 7.562 MB / 1.045 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.0007142/0.3767, allocations: 434.9 kB / 1.351 GB, free: 7.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3767, allocations: 11.98 kB / 1.351 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.3768, allocations: 42.73 kB / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.3768, allocations: 8.891 kB / 1.351 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.3771, allocations: 214.3 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3771, allocations: 4.375 kB / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3771, allocations: 8.375 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.3775, allocations: 127.7 kB / 1.351 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3775, allocations: 3.938 kB / 1.351 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3775, allocations: 0 / 1.351 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3775, allocations: 4 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.378, allocations: 123.9 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.3786, allocations: 372.5 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.379, allocations: 90.45 kB / 1.351 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.3792, allocations: 60.92 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3792, allocations: 0 / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.3792, allocations: 38.56 kB / 1.352 GB, free: 5.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3792, allocations: 0 / 1.352 GB, free: 5.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0008113/0.3801, allocations: 197.4 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3801, allocations: 51.41 kB / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3802, allocations: 125.8 kB / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3802, allocations: 33.7 kB / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.3803, allocations: 108.1 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3803, allocations: 15.86 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.3804, allocations: 29.64 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3805, allocations: 314.8 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3808, allocations: 51.94 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.381, allocations: 51.88 kB / 1.353 GB, free: 4.867 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3814, allocations: 108.8 kB / 1.353 GB, free: 4.758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3815, allocations: 0 / 1.353 GB, free: 4.758 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005197/0.382, allocations: 149.5 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.382, allocations: 6.031 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.382, allocations: 0 / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.382, allocations: 7.938 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3822, allocations: 23.97 kB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3822, allocations: 0 / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3823, allocations: 23.97 kB / 1.353 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3823, allocations: 0 / 1.353 GB, free: 4.547 MB / 1.045 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.0001014/0.3824, allocations: 117.8 kB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.3825, allocations: 7.953 kB / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.3825, allocations: 16.3 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3825, allocations: 4 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3825, allocations: 0 / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3825, allocations: 0 / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.3827, allocations: 201.5 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.3828, allocations: 12.41 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.3829, allocations: 23.97 kB / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3829, allocations: 7.938 kB / 1.353 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3829, allocations: 7.938 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3829, allocations: 0 / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3829, allocations: 0 / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.3835, allocations: 235.4 kB / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.3835, allocations: 89.05 kB / 1.354 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.3836, allocations: 7.938 kB / 1.354 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3837, allocations: 19.97 kB / 1.354 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.3838, allocations: 0 / 1.354 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.3838, allocations: 12 kB / 1.354 GB, free: 3.707 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.572e-05/0.3839, allocations: 98.22 kB / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 0 / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003922/0.3842, allocations: 15.95 kB / 1.354 GB, free: 3.598 MB / 1.045 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.001046/0.3853, allocations: 0.7865 MB / 1.354 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005393/0.3858, allocations: 107.8 kB / 1.355 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3858, allocations: 4 kB / 1.355 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.3861, allocations: 59.81 kB / 1.355 GB, free: 2.617 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3865, allocations: 15.94 kB / 1.355 GB, free: 2.602 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.3891, allocations: 1.588 MB / 1.356 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3894, allocations: 0.6963 MB / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.383e-05/0.3895, allocations: 4 kB / 1.357 GB, free: 208 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.3896, allocations: 31.42 kB / 1.357 GB, free: 176 kB / 1.045 GB Notification: Performance of SimCode: time 9.22e-07/0.3896, allocations: 0 / 1.357 GB, free: 176 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.4165, allocations: 2.275 MB / 1.359 GB, free: 14.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.937, allocations: 7.438 kB / 1.359 GB, free: 14.04 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv. Warning: Get data of variable pwr.QSen_flow from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.882384387077764]