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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 110.8 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.164/3.164, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 65.61 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.352, allocations: 173.9 MB / 1.304 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003951/0.3559, allocations: 2.158 MB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.3597, allocations: 2.667 MB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.3599, allocations: 4 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.3615, allocations: 0.5327 MB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3618, allocations: 139.3 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.3626, allocations: 233.4 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000593/0.3632, allocations: 374.2 kB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.3634, allocations: 49.08 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.3636, allocations: 127.4 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.3638, allocations: 163.1 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.3639, allocations: 8 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.3641, allocations: 63.95 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.3643, allocations: 131.5 kB / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.3645, allocations: 234.3 kB / 1.311 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.3654, allocations: 0.7195 MB / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3654, allocations: 0 / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3654, allocations: 0 / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.3655, allocations: 0 / 1.311 GB, free: 9.895 MB / 1.014 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.001567/0.367, allocations: 0.9338 MB / 1.312 GB, free: 8.902 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3671, allocations: 8.922 kB / 1.312 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.3671, allocations: 42.73 kB / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.3673, allocations: 76.41 kB / 1.312 GB, free: 8.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.3679, allocations: 456.8 kB / 1.313 GB, free: 8.281 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.368, allocations: 12.3 kB / 1.313 GB, free: 8.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.368, allocations: 11.94 kB / 1.313 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3682, allocations: 100.2 kB / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3682, allocations: 0 / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3683, allocations: 0 / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3683, allocations: 4 kB / 1.313 GB, free: 8.141 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3684, allocations: 39.97 kB / 1.313 GB, free: 8.102 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009146/0.3693, allocations: 0.5317 MB / 1.314 GB, free: 7.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.3697, allocations: 94.66 kB / 1.314 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.3698, allocations: 36.83 kB / 1.314 GB, free: 7.379 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3698, allocations: 0 / 1.314 GB, free: 7.379 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.37, allocations: 87.41 kB / 1.314 GB, free: 7.281 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.37, allocations: 0 / 1.314 GB, free: 7.281 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.000457/0.3705, allocations: 197.2 kB / 1.314 GB, free: 7.082 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.3706, allocations: 110.8 kB / 1.314 GB, free: 6.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.3718, allocations: 0.9149 MB / 1.315 GB, free: 6.023 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3719, allocations: 29.7 kB / 1.315 GB, free: 5.988 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.3722, allocations: 324 kB / 1.315 GB, free: 5.668 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.3722, allocations: 15.86 kB / 1.315 GB, free: 5.652 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.3723, allocations: 29.7 kB / 1.315 GB, free: 5.617 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3725, allocations: 310 kB / 1.316 GB, free: 5.309 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.3726, allocations: 31.92 kB / 1.316 GB, free: 5.277 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3727, allocations: 72.27 kB / 1.316 GB, free: 5.191 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3729, allocations: 69.7 kB / 1.316 GB, free: 5.117 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3729, allocations: 0 / 1.316 GB, free: 5.117 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003321/0.3732, allocations: 173.1 kB / 1.316 GB, free: 4.941 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3732, allocations: 9.906 kB / 1.316 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3732, allocations: 192 / 1.316 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3733, allocations: 0 / 1.316 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3734, allocations: 19.94 kB / 1.316 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3734, allocations: 4 kB / 1.316 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3735, allocations: 11.92 kB / 1.316 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3735, allocations: 7.875 kB / 1.316 GB, free: 4.891 MB / 1.014 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.0004067/0.374, allocations: 325.7 kB / 1.316 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.374, allocations: 75.53 kB / 1.316 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.3742, allocations: 78.42 kB / 1.316 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3742, allocations: 0 / 1.316 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.3742, allocations: 0 / 1.316 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3742, allocations: 11.92 kB / 1.316 GB, free: 4.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.3747, allocations: 401.3 kB / 1.317 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3747, allocations: 0 / 1.317 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.3747, allocations: 8 kB / 1.317 GB, free: 3.941 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3747, allocations: 4 kB / 1.317 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3747, allocations: 0 / 1.317 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3747, allocations: 0 / 1.317 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3747, allocations: 0 / 1.317 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.3751, allocations: 204.5 kB / 1.317 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.3753, allocations: 140.7 kB / 1.317 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3753, allocations: 0 / 1.317 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3754, allocations: 8 kB / 1.317 GB, free: 3.555 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.3755, allocations: 11.92 kB / 1.317 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3755, allocations: 4 kB / 1.317 GB, free: 3.539 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008407/0.3764, allocations: 0.6785 MB / 1.318 GB, free: 2.863 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3764, allocations: 4 kB / 1.318 GB, free: 2.859 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003088/0.3767, allocations: 67.88 kB / 1.318 GB, free: 2.793 MB / 1.014 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.002166/0.3788, allocations: 1.053 MB / 1.319 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3791, allocations: 75.94 kB / 1.319 GB, free: 1.809 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3791, allocations: 0 / 1.319 GB, free: 1.809 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3792, allocations: 39.92 kB / 1.319 GB, free: 1.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.3799, allocations: 165.9 kB / 1.319 GB, free: 1.613 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.3866, allocations: 4.833 MB / 1.324 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.3873, allocations: 0.9902 MB / 1.325 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.3875, allocations: 51.25 kB / 1.325 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.3878, allocations: 187.4 kB / 1.325 GB, free: 11.42 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/0.3878, allocations: 0 / 1.325 GB, free: 11.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/0.4321, allocations: 13.31 MB / 1.338 GB, free: 14.35 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.714/10.15, allocations: 2.75 kB / 1.338 GB, free: 14.35 MB / 1.045 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.782936131116003]