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.001869/0.001869, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.0023/0.0023, allocations: 221.3 kB / 22.26 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.988 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.803/2.803, allocations: 476.7 MB / 0.7707 GB, free: 4.27 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.002134/0.002134, allocations: 66.36 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3376, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004529/0.3421, allocations: 2.217 MB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.3467, allocations: 2.825 MB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.3469, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.3486, allocations: 0.549 MB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.3491, allocations: 167.2 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.3498, allocations: 206.3 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006686/0.3505, allocations: 389.6 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3507, allocations: 37.27 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.3509, allocations: 139.2 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.3512, allocations: 155.2 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.3513, allocations: 8 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.3516, allocations: 79.88 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.3518, allocations: 131.5 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.3521, allocations: 234.3 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.3531, allocations: 0.7273 MB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3531, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3531, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.3531, allocations: 4 kB / 1.291 GB, free: 3.844 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.001588/0.3547, allocations: 0.8585 MB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3548, allocations: 8.031 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.3548, allocations: 38.73 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3549, allocations: 76.42 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.3556, allocations: 410.8 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.3557, allocations: 384 / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.3557, allocations: 15.94 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3559, allocations: 96.17 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.356, allocations: 0 / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.356, allocations: 4 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.356, allocations: 3.984 kB / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3561, allocations: 39.92 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009908/0.3571, allocations: 0.5074 MB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.3575, allocations: 98.67 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.3576, allocations: 32.84 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3576, allocations: 0 / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.3579, allocations: 83.38 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.3579, allocations: 4 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005283/0.3584, allocations: 205.3 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.3585, allocations: 102.8 kB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3598, allocations: 0.9305 MB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3599, allocations: 33.7 kB / 1.294 GB, free: 120 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.3602, allocations: 324 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.3603, allocations: 15.83 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.3604, allocations: 25.72 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3605, allocations: 318 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3606, allocations: 23.98 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3608, allocations: 72.28 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3609, allocations: 77.69 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.361, allocations: 4 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003908/0.3613, allocations: 169.2 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3614, allocations: 7.938 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3614, allocations: 0 / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3614, allocations: 4 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3615, allocations: 19.92 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3615, allocations: 0 / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3617, allocations: 11.89 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3617, allocations: 8.172 kB / 1.296 GB, free: 15.02 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.0004553/0.3622, allocations: 317.7 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3623, allocations: 79.47 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.3628, allocations: 184 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3628, allocations: 4 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3628, allocations: 0 / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3628, allocations: 3.938 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.3634, allocations: 372.4 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3634, allocations: 0 / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.3634, allocations: 4 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3634, allocations: 4 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3635, allocations: 4 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3635, allocations: 4 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3635, allocations: 3.984 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.3639, allocations: 204.5 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.364, allocations: 67.52 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.3641, allocations: 0 / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3643, allocations: 11.98 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.3643, allocations: 19.95 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3644, allocations: 4 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001098/0.3655, allocations: 0.6864 MB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3655, allocations: 0 / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003729/0.3658, allocations: 59.94 kB / 1.297 GB, free: 12.93 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.002369/0.3682, allocations: 1.056 MB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.3686, allocations: 67.95 kB / 1.299 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3686, allocations: 0 / 1.299 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3687, allocations: 39.91 kB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3697, allocations: 174.7 kB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.3777, allocations: 4.862 MB / 1.304 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.3784, allocations: 0.994 MB / 1.304 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3786, allocations: 51.2 kB / 1.305 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.3789, allocations: 191.4 kB / 1.305 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of SimCode: time 1.352e-06/0.3789, allocations: 0 / 1.305 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.4281, allocations: 13.53 MB / 1.318 GB, free: 8.184 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.44, allocations: 5.844 kB / 1.318 GB, free: 8.184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/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: 20.117675025947392]