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.001736/0.001736, 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.002186/0.002186, allocations: 208.7 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.012 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.762/2.762, allocations: 476.7 MB / 0.7707 GB, free: 4.273 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.002067/0.002067, allocations: 70.47 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.313, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003744/0.3167, allocations: 2.217 MB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003831/0.3205, allocations: 2.83 MB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3207, allocations: 7.938 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3221, allocations: 0.5439 MB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.3224, allocations: 159.2 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.323, allocations: 203.3 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.3235, allocations: 390.2 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3236, allocations: 34.12 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.3238, allocations: 143.3 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3241, allocations: 155.1 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.3241, allocations: 8 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.3243, allocations: 75.94 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.3244, allocations: 139.4 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.3247, allocations: 234.3 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000812/0.3255, allocations: 0.7195 MB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3255, allocations: 4 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3255, allocations: 0 / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3255, allocations: 0 / 1.291 GB, free: 3.809 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.001282/0.3268, allocations: 0.8624 MB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3268, allocations: 12.02 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.3268, allocations: 38.75 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.3269, allocations: 80.42 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.3275, allocations: 391 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3275, allocations: 12.31 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3275, allocations: 7.938 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3277, allocations: 100.2 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3277, allocations: 0 / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3278, allocations: 0 / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3278, allocations: 8 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3279, allocations: 39.97 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.3286, allocations: 0.4996 MB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.329, allocations: 98.64 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.969e-05/0.3291, allocations: 28.84 kB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3291, allocations: 8 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3293, allocations: 83.41 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3293, allocations: 0 / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.3297, allocations: 205.2 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.3298, allocations: 102.8 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.331, allocations: 0.9305 MB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.331, allocations: 29.7 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.3313, allocations: 324 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.3313, allocations: 23.83 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.3314, allocations: 29.64 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3315, allocations: 310 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.3316, allocations: 31.92 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3317, allocations: 76.27 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3319, allocations: 65.7 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3319, allocations: 0 / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002827/0.3322, allocations: 169.5 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3322, allocations: 11.98 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3322, allocations: 48 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3322, allocations: 3.984 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.3323, allocations: 12 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3323, allocations: 8.047 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3324, allocations: 19.88 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3324, allocations: 11.92 kB / 1.296 GB, free: 14.98 MB / 0.9981 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.0003355/0.3328, allocations: 317.7 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.3329, allocations: 75.52 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.3332, allocations: 188 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3332, allocations: 0 / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3332, allocations: 0 / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3332, allocations: 7.938 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.3336, allocations: 368.5 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3336, allocations: 0 / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.3337, allocations: 11.94 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3337, allocations: 0 / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3337, allocations: 3.984 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3337, allocations: 0 / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3337, allocations: 0 / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.334, allocations: 208.5 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3342, allocations: 63.53 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.3342, allocations: 4 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3343, allocations: 7.984 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.3344, allocations: 11.92 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3344, allocations: 4 kB / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008859/0.3353, allocations: 0.6864 MB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3353, allocations: 0 / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002983/0.3356, allocations: 55.94 kB / 1.297 GB, free: 12.91 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 (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.00214/0.3377, allocations: 1.066 MB / 1.299 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.338, allocations: 71.89 kB / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.338, allocations: 0 / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3381, allocations: 36.05 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.3388, allocations: 171 kB / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.3449, allocations: 4.869 MB / 1.304 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.3455, allocations: 0.9979 MB / 1.305 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000173/0.3457, allocations: 46.95 kB / 1.305 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.3459, allocations: 195.4 kB / 1.305 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.3459, allocations: 4 kB / 1.305 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.3935, allocations: 13.53 MB / 1.318 GB, free: 8.133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.04, allocations: 6.938 kB / 1.318 GB, free: 8.133 MB / 1.014 GB " [Timeout remaining time 286] (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: 19.673796147999383]