Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001864/0.001864, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002401/0.002401, allocations: 212.1 kB / 22.25 MB, free: 5.082 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.275/3.275, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",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.002057/0.002057, allocations: 70.55 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3787, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004085/0.3828, allocations: 2.212 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004023/0.3869, allocations: 2.838 MB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.387, allocations: 3.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.3885, allocations: 0.5367 MB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.389, allocations: 167.2 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.3896, allocations: 211.2 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.3902, allocations: 394.1 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3903, allocations: 25.28 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3905, allocations: 139.4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.3908, allocations: 159.2 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.3908, allocations: 8 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.391, allocations: 71.89 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.3912, allocations: 135.4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3914, allocations: 226.4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.3922, allocations: 0.739 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3923, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3923, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3923, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001421/0.3937, allocations: 0.8624 MB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3937, allocations: 12.03 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.3938, allocations: 34.75 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3939, allocations: 76.42 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.3945, allocations: 402.9 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3946, allocations: 384 / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3946, allocations: 7.938 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.3949, allocations: 116.1 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3949, allocations: 3.938 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3949, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3949, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.395, allocations: 43.97 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.3959, allocations: 0.4957 MB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.3963, allocations: 102.7 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.3964, allocations: 36.84 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.3964, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.3966, allocations: 83.38 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3966, allocations: 0 / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004672/0.3971, allocations: 201.1 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.3972, allocations: 106.8 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.3984, allocations: 0.9305 MB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.3984, allocations: 29.7 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.3988, allocations: 331.9 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.3988, allocations: 15.89 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.3989, allocations: 29.7 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.399, allocations: 310 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.3991, allocations: 23.98 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3992, allocations: 84.2 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3994, allocations: 65.7 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3994, allocations: 0 / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003228/0.3997, allocations: 169.1 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3997, allocations: 7.984 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3997, allocations: 4.031 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3997, allocations: 4 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3998, allocations: 16 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3998, allocations: 0 / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.4, allocations: 15.88 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.4, allocations: 192 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0003901/0.4004, allocations: 326.4 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.4005, allocations: 79.45 kB / 1.338 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.4009, allocations: 188 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4009, allocations: 4 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4009, allocations: 0 / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4009, allocations: 3.938 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.4013, allocations: 368.4 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4013, allocations: 0 / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.4014, allocations: 8 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4014, allocations: 0 / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4014, allocations: 3.984 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4014, allocations: 4 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4014, allocations: 0 / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.4017, allocations: 213 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4018, allocations: 59.53 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.4019, allocations: 8 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.402, allocations: 7.984 kB / 1.339 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.4021, allocations: 15.92 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4021, allocations: 4 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008889/0.403, allocations: 0.6864 MB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.403, allocations: 0 / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003305/0.4033, allocations: 63.94 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002186/0.4055, allocations: 1.055 MB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.4058, allocations: 75.94 kB / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4058, allocations: 0 / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4059, allocations: 35.92 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.4067, allocations: 173.1 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.4136, allocations: 4.865 MB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.4143, allocations: 0.9902 MB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.4145, allocations: 55.19 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.4148, allocations: 191.4 kB / 1.347 GB, free: 11.69 MB / 1.045 GB Notification: Performance of SimCode: time 8.92e-07/0.4148, allocations: 0 / 1.347 GB, free: 11.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/0.4638, allocations: 13.53 MB / 1.36 GB, free: 14.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.8, allocations: 10.91 kB / 1.36 GB, free: 14.37 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.76902075199905]