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.001289/0.001289, allocations: 113 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.001488/0.001488, allocations: 208 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 8.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.347/3.347, allocations: 0.505 GB / 0.8101 GB, free: 21.99 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.002028/0.002028, allocations: 63.3 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3508, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003942/0.3548, allocations: 2.224 MB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003918/0.3587, allocations: 2.827 MB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.3589, allocations: 7.938 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.3603, allocations: 0.5444 MB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.3608, allocations: 163.2 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.3614, allocations: 214.2 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.3619, allocations: 382.2 kB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.362, allocations: 29.27 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.3622, allocations: 131.4 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.3625, allocations: 163.1 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.3625, allocations: 12 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3627, allocations: 75.95 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3629, allocations: 139.4 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3631, allocations: 226.4 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008267/0.3639, allocations: 0.7196 MB / 1.361 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3639, allocations: 4 kB / 1.361 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3639, allocations: 0 / 1.361 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3639, allocations: 0 / 1.361 GB, free: 0.5742 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.001364/0.3653, allocations: 0.8701 MB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3653, allocations: 12.03 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.3654, allocations: 42.73 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3655, allocations: 72.47 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.366, allocations: 398.9 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3661, allocations: 4.375 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3661, allocations: 7.938 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3663, allocations: 104.1 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3663, allocations: 4 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3663, allocations: 0 / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3663, allocations: 4 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.3665, allocations: 39.92 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.3672, allocations: 0.4919 MB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.3676, allocations: 102.6 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.3677, allocations: 36.88 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.3677, allocations: 7.984 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.3679, allocations: 79.38 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3679, allocations: 0 / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004402/0.3684, allocations: 205.2 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.3685, allocations: 102.8 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.3696, allocations: 0.9422 MB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3696, allocations: 29.7 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.3699, allocations: 324 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.37, allocations: 15.89 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.37, allocations: 25.72 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3701, allocations: 310 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.065e-05/0.3702, allocations: 27.98 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3704, allocations: 76.27 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3705, allocations: 77.62 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3705, allocations: 0 / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002878/0.3708, allocations: 169.2 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3708, allocations: 8 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3708, allocations: 0 / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3708, allocations: 4.031 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.3709, allocations: 23.92 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3709, allocations: 0 / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3711, allocations: 11.92 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3711, allocations: 4 kB / 1.365 GB, free: 11.74 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.000349/0.3714, allocations: 322.5 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.3715, allocations: 71.53 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.3719, allocations: 188.3 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3719, allocations: 4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3719, allocations: 3.984 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3719, allocations: 3.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.3723, allocations: 372.4 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3723, allocations: 3.938 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.3724, allocations: 8 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3724, allocations: 0 / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3724, allocations: 3.984 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3724, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3724, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3727, allocations: 212.6 kB / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3728, allocations: 63.53 kB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.3729, allocations: 4 kB / 1.366 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.373, allocations: 7.984 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.3731, allocations: 19.86 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3731, allocations: 0 / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008648/0.3739, allocations: 0.6864 MB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3739, allocations: 4 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003118/0.3743, allocations: 59.94 kB / 1.367 GB, free: 9.648 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.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.002119/0.3764, allocations: 1.049 MB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3766, allocations: 79.88 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3766, allocations: 3.938 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.3767, allocations: 35.98 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.3774, allocations: 163.7 kB / 1.368 GB, free: 8.465 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/0.3839, allocations: 4.865 MB / 1.373 GB, free: 3.492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.3846, allocations: 0.9941 MB / 1.374 GB, free: 2.469 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.3848, allocations: 51.25 kB / 1.374 GB, free: 2.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.3851, allocations: 187.4 kB / 1.374 GB, free: 2.234 MB / 1.061 GB Notification: Performance of SimCode: time 1.403e-06/0.3851, allocations: 0 / 1.374 GB, free: 2.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05844/0.4435, allocations: 13.54 MB / 1.387 GB, free: 4.855 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.83, allocations: 12.41 kB / 1.387 GB, free: 4.848 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.899924405000093]