Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001888/0.001888, allocations: 104.4 kB / 16.45 MB, free: 6.387 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.00223/0.00223, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.336/3.336, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_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.002286/0.002286, allocations: 66.78 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3855, allocations: 180.2 MB / 1.348 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004603/0.3901, allocations: 2.197 MB / 1.35 GB, free: 7.723 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.3946, allocations: 2.811 MB / 1.353 GB, free: 4.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.3949, allocations: 4 kB / 1.353 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.3967, allocations: 0.5444 MB / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.3973, allocations: 171.2 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.398, allocations: 197.7 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.3986, allocations: 384.5 kB / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3988, allocations: 49.08 kB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.399, allocations: 139.3 kB / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.3992, allocations: 159.1 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.3993, allocations: 12 kB / 1.354 GB, free: 3.258 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.3995, allocations: 71.94 kB / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.3997, allocations: 131.4 kB / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.3999, allocations: 234.3 kB / 1.355 GB, free: 2.828 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.4009, allocations: 0.7157 MB / 1.355 GB, free: 2.109 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4009, allocations: 0 / 1.355 GB, free: 2.109 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4009, allocations: 4 kB / 1.355 GB, free: 2.105 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.401, allocations: 0 / 1.355 GB, free: 2.105 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001536/0.4025, allocations: 0.9493 MB / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4025, allocations: 11.98 kB / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.4026, allocations: 38.73 kB / 1.356 GB, free: 1.039 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.4027, allocations: 72.47 kB / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.4034, allocations: 460.8 kB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.4035, allocations: 8.312 kB / 1.357 GB, free: 480 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.4035, allocations: 11.94 kB / 1.357 GB, free: 468 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.4038, allocations: 92.23 kB / 1.357 GB, free: 360 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4039, allocations: 0 / 1.357 GB, free: 360 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4039, allocations: 8 kB / 1.357 GB, free: 352 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4039, allocations: 0 / 1.357 GB, free: 352 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.404, allocations: 43.91 kB / 1.357 GB, free: 308 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009935/0.405, allocations: 0.5239 MB / 1.358 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.4055, allocations: 106.7 kB / 1.358 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.4056, allocations: 32.78 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.4056, allocations: 8 kB / 1.358 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.4058, allocations: 79.38 kB / 1.358 GB, free: 15.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 3.887e-06/0.4058, allocations: 3.984 kB / 1.358 GB, free: 15.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005134/0.4063, allocations: 201.2 kB / 1.358 GB, free: 15.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.4064, allocations: 110.8 kB / 1.358 GB, free: 15.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.4077, allocations: 0.9344 MB / 1.359 GB, free: 14.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.4078, allocations: 29.7 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.4081, allocations: 324 kB / 1.359 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.4082, allocations: 23.83 kB / 1.359 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.4082, allocations: 21.72 kB / 1.359 GB, free: 13.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4084, allocations: 310 kB / 1.36 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.4085, allocations: 27.98 kB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.4086, allocations: 80.27 kB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4088, allocations: 69.64 kB / 1.36 GB, free: 13.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4088, allocations: 0 / 1.36 GB, free: 13.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003392/0.4092, allocations: 173.2 kB / 1.36 GB, free: 13.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4092, allocations: 8 kB / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4092, allocations: 4.031 kB / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4092, allocations: 0 / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.4093, allocations: 19.92 kB / 1.36 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4093, allocations: 0 / 1.36 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.4095, allocations: 11.92 kB / 1.36 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.4095, allocations: 4 kB / 1.36 GB, free: 13.06 MB / 1.061 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.0003835/0.4099, allocations: 317.7 kB / 1.36 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.41, allocations: 71.53 kB / 1.36 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.4101, allocations: 78.41 kB / 1.36 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4101, allocations: 4 kB / 1.36 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4101, allocations: 0 / 1.36 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.4101, allocations: 7.938 kB / 1.36 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.4106, allocations: 397.4 kB / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4106, allocations: 0 / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.4106, allocations: 11.94 kB / 1.361 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4106, allocations: 0 / 1.361 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4107, allocations: 3.938 kB / 1.361 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4107, allocations: 0 / 1.361 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4107, allocations: 0 / 1.361 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.411, allocations: 208.9 kB / 1.361 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.4112, allocations: 148.6 kB / 1.361 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.4112, allocations: 4 kB / 1.361 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.4113, allocations: 7.984 kB / 1.361 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.4114, allocations: 11.94 kB / 1.361 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.4114, allocations: 3.984 kB / 1.361 GB, free: 11.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000929/0.4124, allocations: 0.6864 MB / 1.362 GB, free: 11.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4124, allocations: 4.188 kB / 1.362 GB, free: 11.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000331/0.4127, allocations: 59.95 kB / 1.362 GB, free: 10.96 MB / 1.061 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * 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.002294/0.415, allocations: 1.056 MB / 1.363 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.4153, allocations: 71.89 kB / 1.363 GB, free: 9.969 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4153, allocations: 4.062 kB / 1.363 GB, free: 9.965 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.4154, allocations: 35.92 kB / 1.363 GB, free: 9.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.4162, allocations: 175.6 kB / 1.363 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/0.4233, allocations: 4.862 MB / 1.368 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/0.424, allocations: 0.9941 MB / 1.369 GB, free: 3.777 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.4243, allocations: 47.27 kB / 1.369 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.4246, allocations: 191.4 kB / 1.369 GB, free: 3.539 MB / 1.061 GB Notification: Performance of SimCode: time 1.222e-06/0.4246, allocations: 3.938 kB / 1.369 GB, free: 3.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.4741, allocations: 13.4 MB / 1.382 GB, free: 6.352 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.52, allocations: 13.7 kB / 1.382 GB, free: 6.34 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_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_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.65413430496119]