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.0007731/0.0007731, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008022/0.0008022, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9032/0.9032, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/2.05e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004241/0.004261, allocations: 2.132 MB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.008201, allocations: 2.538 MB / 0.9551 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.008391, allocations: 0 / 0.9551 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.009926, allocations: 0.4897 MB / 0.9556 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.01039, allocations: 163.1 kB / 0.9557 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.01102, allocations: 218.4 kB / 0.9559 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005524/0.01157, allocations: 399.7 kB / 0.9563 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.01171, allocations: 29.27 kB / 0.9563 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.012, allocations: 183.4 kB / 0.9565 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.01223, allocations: 123.6 kB / 0.9566 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.01227, allocations: 8 kB / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.01247, allocations: 75.88 kB / 0.9567 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01264, allocations: 143.3 kB / 0.9568 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.01277, allocations: 103.5 kB / 0.9569 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.01358, allocations: 0.7007 MB / 0.9576 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01358, allocations: 0 / 0.9576 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01358, allocations: 0 / 0.9576 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.01359, allocations: 0 / 0.9576 GB, free: 12.15 MB / 0.9167 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.001329/0.01492, allocations: 0.8584 MB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.01497, allocations: 12.03 kB / 0.9585 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.01501, allocations: 38.73 kB / 0.9585 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.01513, allocations: 72.47 kB / 0.9586 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.01554, allocations: 406.1 kB / 0.959 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.01555, allocations: 4.375 kB / 0.959 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.01557, allocations: 4.375 kB / 0.959 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.01576, allocations: 143.1 kB / 0.9591 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.01577, allocations: 0 / 0.9591 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.01578, allocations: 11.98 kB / 0.9591 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.01579, allocations: 3.984 kB / 0.9591 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.01588, allocations: 43.92 kB / 0.9592 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.01645, allocations: 487.7 kB / 0.9596 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.0167, allocations: 102.7 kB / 0.9597 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.01674, allocations: 36.84 kB / 0.9598 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.01676, allocations: 0 / 0.9598 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.0169, allocations: 109.1 kB / 0.9599 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.0169, allocations: 4 kB / 0.9599 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003095/0.01721, allocations: 209.1 kB / 0.9601 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.01726, allocations: 77.11 kB / 0.9602 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.01802, allocations: 0.9306 MB / 0.9611 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.01804, allocations: 33.7 kB / 0.9611 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.01824, allocations: 316 kB / 0.9614 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.01827, allocations: 27.73 kB / 0.9614 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.01831, allocations: 29.7 kB / 0.9614 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.0184, allocations: 313.9 kB / 0.9617 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.01845, allocations: 23.98 kB / 0.9618 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.01853, allocations: 130.8 kB / 0.9619 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.01863, allocations: 77.62 kB / 0.962 GB, free: 7.445 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01864, allocations: 0 / 0.962 GB, free: 7.445 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001887/0.01882, allocations: 173.5 kB / 0.9621 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01884, allocations: 4 kB / 0.9621 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01885, allocations: 4.016 kB / 0.9621 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01886, allocations: 4 kB / 0.9621 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.01891, allocations: 15.98 kB / 0.9622 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.01892, allocations: 3.984 kB / 0.9622 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.019, allocations: 12.05 kB / 0.9622 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01901, allocations: 4 kB / 0.9622 GB, free: 7.223 MB / 0.9167 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.0002317/0.01924, allocations: 317.6 kB / 0.9625 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.01929, allocations: 71.53 kB / 0.9626 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.01954, allocations: 200 kB / 0.9627 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01954, allocations: 0 / 0.9627 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01955, allocations: 0 / 0.9627 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01955, allocations: 4 kB / 0.9627 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.01984, allocations: 356.5 kB / 0.9631 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01984, allocations: 4 kB / 0.9631 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.01987, allocations: 4 kB / 0.9631 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01987, allocations: 7.984 kB / 0.9631 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01988, allocations: 0 / 0.9631 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01988, allocations: 0 / 0.9631 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01988, allocations: 0 / 0.9631 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.02007, allocations: 216.5 kB / 0.9633 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.02013, allocations: 67.47 kB / 0.9634 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.02016, allocations: 3.984 kB / 0.9634 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.02022, allocations: 8 kB / 0.9634 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.02027, allocations: 11.98 kB / 0.9634 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.02029, allocations: 4 kB / 0.9634 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005595/0.02085, allocations: 0.6824 MB / 0.9641 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.02085, allocations: 4 kB / 0.9641 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002277/0.02108, allocations: 63.92 kB / 0.9641 GB, free: 5.145 MB / 0.9167 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.001069/0.02214, allocations: 1.094 MB / 0.9652 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.02232, allocations: 75.89 kB / 0.9653 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02232, allocations: 0 / 0.9653 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.02238, allocations: 43.98 kB / 0.9653 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.02283, allocations: 169.5 kB / 0.9655 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.02717, allocations: 4.888 MB / 0.9702 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.02743, allocations: 391.7 kB / 0.9706 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.02756, allocations: 42.97 kB / 0.9707 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.02774, allocations: 204.4 kB / 0.9709 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of SimCode: time 9.62e-07/0.02774, allocations: 0 / 0.9709 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.05345, allocations: 14.66 MB / 0.9852 GB, free: 15.87 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.334, allocations: 14.08 kB / 0.9852 GB, free: 15.86 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.594841932877898]