Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00188/0.00188, allocations: 103.6 kB / 18.95 MB, free: 2.66 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: 217.8 kB / 22.24 MB, free: 5.258 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.18/3.18, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_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.002043/0.002043, allocations: 70.23 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3833, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004101/0.3874, allocations: 2.127 MB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004427/0.3918, allocations: 2.531 MB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.392, allocations: 3.938 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.3939, allocations: 497.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.3944, allocations: 163.2 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007107/0.3951, allocations: 209.8 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.3958, allocations: 397.4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.396, allocations: 25.28 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.3963, allocations: 135.3 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.3966, allocations: 163.1 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.3966, allocations: 8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.3969, allocations: 71.94 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.3971, allocations: 135.4 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.3974, allocations: 158.7 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.3985, allocations: 0.7313 MB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3985, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3985, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3985, allocations: 3.938 kB / 1.333 GB, free: 10.16 MB / 1.029 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.001581/0.4001, allocations: 0.8624 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4002, allocations: 12.03 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.4002, allocations: 38.73 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.4003, allocations: 76.42 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.4009, allocations: 403 kB / 1.334 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4009, allocations: 384 / 1.334 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.4009, allocations: 11.92 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.4012, allocations: 150.7 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4012, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4012, allocations: 3.984 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4012, allocations: 4 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.4013, allocations: 39.98 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.4022, allocations: 499.5 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.4026, allocations: 102.6 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.4027, allocations: 32.84 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4027, allocations: 0 / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.4029, allocations: 117.1 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4029, allocations: 0 / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004729/0.4034, allocations: 209.2 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.4035, allocations: 77.11 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.4047, allocations: 0.9305 MB / 1.336 GB, free: 6.414 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.4047, allocations: 33.7 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.4052, allocations: 331.9 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.4052, allocations: 11.84 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.4053, allocations: 29.7 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.4055, allocations: 310 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.4056, allocations: 27.98 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.4057, allocations: 122.8 kB / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.4059, allocations: 77.72 kB / 1.337 GB, free: 5.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4059, allocations: 4 kB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003009/0.4062, allocations: 169.1 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.4062, allocations: 4 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4062, allocations: 0 / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.4063, allocations: 7.984 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.4063, allocations: 12 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4063, allocations: 0 / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.4065, allocations: 15.91 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4065, allocations: 8 kB / 1.338 GB, free: 5.215 MB / 1.029 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.0004125/0.4069, allocations: 319.3 kB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.407, allocations: 71.72 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.4074, allocations: 196.4 kB / 1.338 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4074, allocations: 3.938 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4074, allocations: 4 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4074, allocations: 7.875 kB / 1.338 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.4079, allocations: 352.5 kB / 1.338 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4079, allocations: 0 / 1.338 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.4079, allocations: 15.98 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4079, allocations: 0 / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4079, allocations: 0 / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4079, allocations: 4.016 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4079, allocations: 3.984 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.4083, allocations: 216.5 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4084, allocations: 63.52 kB / 1.339 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.4084, allocations: 4 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4086, allocations: 4 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.4086, allocations: 19.92 kB / 1.339 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4086, allocations: 8 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008479/0.4095, allocations: 0.6864 MB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4095, allocations: 0 / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003073/0.4098, allocations: 67.88 kB / 1.34 GB, free: 3.117 MB / 1.029 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.002233/0.412, allocations: 1.086 MB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.4123, allocations: 71.89 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4123, allocations: 0 / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.4124, allocations: 40.05 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.4131, allocations: 174.2 kB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.4195, allocations: 4.869 MB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.4199, allocations: 403.6 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000193/0.4201, allocations: 47.27 kB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.4204, allocations: 199.4 kB / 1.346 GB, free: 12.27 MB / 1.045 GB Notification: Performance of SimCode: time 1.473e-06/0.4204, allocations: 3.938 kB / 1.346 GB, free: 12.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/0.4662, allocations: 14.61 MB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.98, allocations: 6.438 kB / 1.361 GB, free: 13.88 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.887778807984432]