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.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.001694/0.001694, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.0021/0.0021, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002155/0.002155, allocations: 67.95 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.316, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003862/0.3199, allocations: 2.11 MB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003992/0.3239, allocations: 2.537 MB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.324, allocations: 3.938 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.3254, allocations: 491.2 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.3257, allocations: 167.2 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.3263, allocations: 205.7 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.3268, allocations: 386.1 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.327, allocations: 33.27 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.3271, allocations: 127.4 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3274, allocations: 163.1 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.3274, allocations: 8 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3276, allocations: 75.95 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.3278, allocations: 139.4 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.328, allocations: 150.8 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.3288, allocations: 0.7312 MB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3288, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3288, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.3288, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 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.001317/0.3301, allocations: 0.8663 MB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3301, allocations: 11.97 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.3302, allocations: 38.67 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3303, allocations: 80.42 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.3309, allocations: 402.9 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3309, allocations: 384 / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3309, allocations: 11.94 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.3312, allocations: 146.7 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3312, allocations: 0 / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3312, allocations: 8 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3312, allocations: 0 / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3313, allocations: 43.97 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.3321, allocations: 491.7 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.3325, allocations: 106.7 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.3326, allocations: 32.84 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3326, allocations: 4 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.3328, allocations: 109.1 kB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3328, allocations: 4 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000441/0.3333, allocations: 205.1 kB / 1.292 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.3334, allocations: 81.09 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3346, allocations: 0.9423 MB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3346, allocations: 25.7 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.3349, allocations: 324 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.3349, allocations: 19.84 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.335, allocations: 25.7 kB / 1.294 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3351, allocations: 306 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.3352, allocations: 35.97 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3354, allocations: 118.8 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3355, allocations: 77.67 kB / 1.294 GB, free: 432 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3355, allocations: 4.031 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002893/0.3358, allocations: 169.3 kB / 1.294 GB, free: 252 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3358, allocations: 11.98 kB / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3358, allocations: 3.938 kB / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3359, allocations: 0 / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.3359, allocations: 12 kB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3359, allocations: 3.938 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.3361, allocations: 19.88 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3361, allocations: 4 kB / 1.294 GB, free: 196 kB / 0.9825 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.0003551/0.3364, allocations: 317.7 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.3365, allocations: 75.52 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.3369, allocations: 188 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3369, allocations: 4 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3369, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3369, allocations: 3.938 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.3373, allocations: 352.5 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3373, allocations: 0 / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.3374, allocations: 11.98 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3374, allocations: 0 / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3374, allocations: 12 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3374, allocations: 4 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3374, allocations: 0 / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.3378, allocations: 208.5 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3379, allocations: 71.45 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.3379, allocations: 0 / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3381, allocations: 4 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.3381, allocations: 15.92 kB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3381, allocations: 7.984 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008687/0.339, allocations: 0.6864 MB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.339, allocations: 0 / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003138/0.3393, allocations: 60 kB / 1.296 GB, free: 14.11 MB / 0.9981 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 (8): * Single equations (assignments): 6 * 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.002307/0.3416, allocations: 1.1 MB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.3419, allocations: 79.92 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3419, allocations: 4 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.342, allocations: 35.92 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.3427, allocations: 174.2 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006605/0.3493, allocations: 4.858 MB / 1.302 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3497, allocations: 403.5 kB / 1.303 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.3499, allocations: 43.28 kB / 1.303 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.3502, allocations: 203.4 kB / 1.303 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.3502, allocations: 0 / 1.303 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04854/0.3987, allocations: 14.58 MB / 1.317 GB, free: 8.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.08, allocations: 6.703 kB / 1.317 GB, free: 8.91 MB / 1.014 GB " [Timeout remaining time 287] (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: 18.810821300838143]