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.001951/0.001951, allocations: 111 kB / 16.46 MB, free: 6.453 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.002922/0.002922, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.237/3.237, allocations: 0.49 GB / 0.7916 GB, free: 33.43 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.002151/0.002151, allocations: 73.11 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3709, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004125/0.375, allocations: 2.209 MB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004192/0.3792, allocations: 2.823 MB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3794, allocations: 0 / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3808, allocations: 0.5366 MB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.3813, allocations: 167.2 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.3819, allocations: 203.1 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.3824, allocations: 386.2 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3826, allocations: 49.08 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3827, allocations: 139.2 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.383, allocations: 155.2 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.383, allocations: 8 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.3832, allocations: 63.91 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.3833, allocations: 135.4 kB / 1.328 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.3836, allocations: 234.3 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008826/0.3844, allocations: 0.7273 MB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3845, allocations: 4 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3845, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.3845, allocations: 0 / 1.328 GB, free: 11.45 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.00136/0.3858, allocations: 0.9415 MB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3859, allocations: 11.98 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.3859, allocations: 42.73 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.386, allocations: 72.47 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.3866, allocations: 464.7 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3866, allocations: 12.3 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3867, allocations: 7.938 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.3869, allocations: 96.23 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3869, allocations: 0 / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3869, allocations: 4 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3869, allocations: 0 / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.3871, allocations: 43.91 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.3879, allocations: 0.5279 MB / 1.331 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.3883, allocations: 98.67 kB / 1.331 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.734e-05/0.3884, allocations: 36.78 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3884, allocations: 0 / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3886, allocations: 91.36 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 3.607e-06/0.3886, allocations: 3.984 kB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004541/0.389, allocations: 201.1 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.3891, allocations: 102.8 kB / 1.331 GB, free: 8.492 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3903, allocations: 0.9305 MB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3903, allocations: 33.7 kB / 1.332 GB, free: 7.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.3906, allocations: 320 kB / 1.332 GB, free: 7.195 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3907, allocations: 23.83 kB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.3907, allocations: 25.72 kB / 1.332 GB, free: 7.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3909, allocations: 314 kB / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.391, allocations: 27.98 kB / 1.333 GB, free: 6.801 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3911, allocations: 68.28 kB / 1.333 GB, free: 6.719 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3913, allocations: 81.62 kB / 1.333 GB, free: 6.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3913, allocations: 0 / 1.333 GB, free: 6.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003102/0.3916, allocations: 169.2 kB / 1.333 GB, free: 6.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3916, allocations: 4 kB / 1.333 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3916, allocations: 0 / 1.333 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3916, allocations: 4 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.3917, allocations: 23.86 kB / 1.333 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3917, allocations: 4 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3918, allocations: 11.89 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3919, allocations: 8.016 kB / 1.333 GB, free: 6.406 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.000339/0.3922, allocations: 317.7 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.3923, allocations: 71.53 kB / 1.333 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3924, allocations: 78.41 kB / 1.334 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3924, allocations: 4 kB / 1.334 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3924, allocations: 0 / 1.334 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3924, allocations: 3.938 kB / 1.334 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.3929, allocations: 389.4 kB / 1.334 GB, free: 5.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3929, allocations: 7.984 kB / 1.334 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.3929, allocations: 8 kB / 1.334 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3929, allocations: 3.938 kB / 1.334 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3929, allocations: 0 / 1.334 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3929, allocations: 4 kB / 1.334 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3929, allocations: 192 / 1.334 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.3933, allocations: 204.9 kB / 1.334 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3934, allocations: 148.5 kB / 1.334 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.3934, allocations: 4 kB / 1.334 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3936, allocations: 8 kB / 1.334 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3936, allocations: 15.92 kB / 1.334 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3936, allocations: 8 kB / 1.334 GB, free: 5.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008789/0.3945, allocations: 0.6824 MB / 1.335 GB, free: 4.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3945, allocations: 0 / 1.335 GB, free: 4.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003116/0.3948, allocations: 63.98 kB / 1.335 GB, free: 4.309 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * 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.002177/0.397, allocations: 1.064 MB / 1.336 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3973, allocations: 67.91 kB / 1.336 GB, free: 3.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3973, allocations: 4 kB / 1.336 GB, free: 3.309 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.3974, allocations: 31.98 kB / 1.336 GB, free: 3.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.3981, allocations: 175.4 kB / 1.336 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006576/0.4047, allocations: 4.86 MB / 1.341 GB, free: 14.15 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.4054, allocations: 0.998 MB / 1.342 GB, free: 13.12 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.4056, allocations: 47.27 kB / 1.342 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.4059, allocations: 199.2 kB / 1.342 GB, free: 12.88 MB / 1.045 GB Notification: Performance of SimCode: time 1.011e-06/0.4059, allocations: 0 / 1.342 GB, free: 12.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.4522, allocations: 13.4 MB / 1.355 GB, free: 15.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.718/10.17, allocations: 1.375 kB / 1.355 GB, free: 15.73 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.0433463989757]