Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00135/0.00135, allocations: 114.3 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.001533/0.001533, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.438/3.438, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_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.002121/0.002121, allocations: 65.62 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3616, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004548/0.3661, allocations: 2.208 MB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.3708, allocations: 2.823 MB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.3711, allocations: 4 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.3728, allocations: 0.5483 MB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.3733, allocations: 167.2 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007317/0.3741, allocations: 207.7 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.3747, allocations: 390.2 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3749, allocations: 25.28 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.3752, allocations: 139.3 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.3755, allocations: 155.1 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.3755, allocations: 11.94 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3758, allocations: 79.88 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.376, allocations: 139.4 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.3763, allocations: 226.4 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3773, allocations: 0.7234 MB / 1.361 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3773, allocations: 4 kB / 1.361 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3773, allocations: 4 kB / 1.361 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.3773, allocations: 3.938 kB / 1.361 GB, free: 0.5586 MB / 1.045 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.001643/0.379, allocations: 0.8585 MB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.379, allocations: 8.031 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/0.3791, allocations: 42.73 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.3792, allocations: 72.47 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.3799, allocations: 402.9 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.38, allocations: 8.375 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.38, allocations: 7.938 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3802, allocations: 92.23 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3802, allocations: 0 / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3802, allocations: 7.922 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3803, allocations: 4 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3804, allocations: 35.98 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.3813, allocations: 0.5112 MB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.3817, allocations: 102.7 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.3818, allocations: 32.84 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3819, allocations: 4 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.3821, allocations: 87.36 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.3821, allocations: 0 / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004777/0.3825, allocations: 205.1 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.3826, allocations: 102.8 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.3841, allocations: 0.9344 MB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3841, allocations: 25.7 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.3845, allocations: 324 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.3845, allocations: 19.89 kB / 1.364 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3846, allocations: 29.72 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3847, allocations: 310 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.3848, allocations: 31.92 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3849, allocations: 68.28 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3851, allocations: 77.62 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3851, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003324/0.3854, allocations: 177.1 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3855, allocations: 8 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3855, allocations: 0 / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3855, allocations: 0 / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.3856, allocations: 15.98 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3856, allocations: 0 / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3857, allocations: 11.94 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3857, allocations: 7.984 kB / 1.365 GB, free: 11.73 MB / 1.061 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.0003738/0.3861, allocations: 323.3 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.339e-05/0.3862, allocations: 71.53 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.3866, allocations: 192.4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3866, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3866, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3866, allocations: 7.922 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.387, allocations: 376.4 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.387, allocations: 0 / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.3871, allocations: 12 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3871, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.3871, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3871, allocations: 3.984 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3871, allocations: 0 / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.3875, allocations: 204.5 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3876, allocations: 63.56 kB / 1.366 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.3877, allocations: 8 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3878, allocations: 11.98 kB / 1.366 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.3878, allocations: 15.92 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3879, allocations: 0 / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009268/0.3888, allocations: 0.6864 MB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3888, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003274/0.3891, allocations: 63.89 kB / 1.367 GB, free: 9.641 MB / 1.061 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.002316/0.3914, allocations: 1.049 MB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.3917, allocations: 67.91 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3917, allocations: 0 / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3918, allocations: 47.89 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.3926, allocations: 171.5 kB / 1.368 GB, free: 8.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.4008, allocations: 4.856 MB / 1.373 GB, free: 3.492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.4017, allocations: 0.998 MB / 1.374 GB, free: 2.465 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.402, allocations: 42.97 kB / 1.374 GB, free: 2.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.4024, allocations: 191.4 kB / 1.374 GB, free: 2.234 MB / 1.061 GB Notification: Performance of SimCode: time 1.934e-06/0.4024, allocations: 0 / 1.374 GB, free: 2.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/0.4568, allocations: 13.55 MB / 1.387 GB, free: 4.844 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.29, allocations: 7.031 kB / 1.387 GB, free: 4.84 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.360699648968875]