Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001404/0.001404, allocations: 109 kB / 17.54 MB, free: 4.746 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.001427/0.001427, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.771, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003087/0.7741, allocations: 2.189 MB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.7767, allocations: 2.687 MB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.7768, allocations: 2.156 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.778, allocations: 0.5421 MB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.7782, allocations: 122.1 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.7788, allocations: 237.1 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.7792, allocations: 377.7 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.7793, allocations: 31.39 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.7794, allocations: 128.9 kB / 1.278 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.7796, allocations: 153.5 kB / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.7796, allocations: 7.812 kB / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.7798, allocations: 73.36 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.7799, allocations: 130.8 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.7801, allocations: 231.5 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.7807, allocations: 0.7226 MB / 1.279 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7808, allocations: 0 / 1.279 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7808, allocations: 0.6875 kB / 1.279 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7808, allocations: 0 / 1.279 GB, free: 3.094 MB / 0.9981 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.001042/0.7818, allocations: 0.9337 MB / 1.28 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7818, allocations: 9.656 kB / 1.28 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.7819, allocations: 38.17 kB / 1.28 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.782, allocations: 72.59 kB / 1.28 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.7824, allocations: 464.2 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7824, allocations: 7.094 kB / 1.28 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.7824, allocations: 7.594 kB / 1.28 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.7826, allocations: 104.1 kB / 1.28 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7826, allocations: 1.219 kB / 1.28 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7827, allocations: 0 / 1.28 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7827, allocations: 1.312 kB / 1.28 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.7828, allocations: 42.69 kB / 1.28 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.7834, allocations: 0.5163 MB / 1.281 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.7838, allocations: 103.6 kB / 1.281 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.7839, allocations: 32.09 kB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.7839, allocations: 5.062 kB / 1.281 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.7841, allocations: 83.41 kB / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.7841, allocations: 0 / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003838/0.7844, allocations: 199.6 kB / 1.281 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.7845, allocations: 108.9 kB / 1.281 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009457/0.7854, allocations: 0.9202 MB / 1.282 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.7854, allocations: 33.89 kB / 1.282 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.7856, allocations: 309.8 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.7857, allocations: 24.38 kB / 1.283 GB, free: 440 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.7857, allocations: 24.48 kB / 1.283 GB, free: 420 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.7857, allocations: 312.6 kB / 1.283 GB, free: 104 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.7858, allocations: 30.91 kB / 1.283 GB, free: 92 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.7859, allocations: 85 kB / 1.283 GB, free: 28 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.7861, allocations: 76.38 kB / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7861, allocations: 0 / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002623/0.7863, allocations: 171.6 kB / 1.283 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.7863, allocations: 7.562 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7863, allocations: 2.516 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7864, allocations: 0 / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.7864, allocations: 14.16 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7864, allocations: 1.656 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.7866, allocations: 13.62 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.7866, allocations: 2.859 kB / 1.283 GB, free: 15.88 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.0003113/0.7869, allocations: 315.8 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.787, allocations: 76.48 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.7873, allocations: 191.2 kB / 1.284 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7873, allocations: 0 / 1.284 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7873, allocations: 1.812 kB / 1.284 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7873, allocations: 4.734 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.7877, allocations: 390.2 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7877, allocations: 0 / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.7878, allocations: 7.969 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7878, allocations: 0.6094 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.7878, allocations: 7.844 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7878, allocations: 0.6094 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7878, allocations: 4 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.7881, allocations: 203 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.7882, allocations: 145.9 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.7882, allocations: 2.688 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.7884, allocations: 4.984 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.7884, allocations: 15.48 kB / 1.285 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.7884, allocations: 4.516 kB / 1.285 GB, free: 15.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007682/0.7892, allocations: 0.6799 MB / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7892, allocations: 0 / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002887/0.7895, allocations: 59.09 kB / 1.285 GB, free: 14.75 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.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.001894/0.7914, allocations: 1.056 MB / 1.286 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.7916, allocations: 74.22 kB / 1.287 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7916, allocations: 0 / 1.287 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.7917, allocations: 37.17 kB / 1.287 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.7924, allocations: 181 kB / 1.287 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/0.798, allocations: 4.851 MB / 1.292 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.7986, allocations: 0.989 MB / 1.292 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.7988, allocations: 44.42 kB / 1.293 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.7991, allocations: 190.3 kB / 1.293 GB, free: 10.59 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/0.7991, allocations: 0 / 1.293 GB, free: 10.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.8398, allocations: 13.27 MB / 1.306 GB, free: 9.078 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/9.075, allocations: 11.44 kB / 1.306 GB, free: 9.07 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.50684519099741]