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.0008862/0.0008862, 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.0009315/0.0009315, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9329/0.9329, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.728/1.728, allocations: 359 MB / 0.6037 GB, free: 11.07 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.835e-06/2.835e-06, allocations: 0 / 0.9505 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.357e-05/3.641e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003775/0.003812, allocations: 2.124 MB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.006553, allocations: 2.53 MB / 0.9551 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.006685, allocations: 0 / 0.9551 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.007813, allocations: 0.4936 MB / 0.9556 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.008177, allocations: 167.1 kB / 0.9557 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.008707, allocations: 210 kB / 0.9559 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.009157, allocations: 406 kB / 0.9563 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.009308, allocations: 29.25 kB / 0.9563 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.009531, allocations: 179.5 kB / 0.9565 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.00974, allocations: 123.6 kB / 0.9566 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.009776, allocations: 12 kB / 0.9566 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.009971, allocations: 79.81 kB / 0.9567 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01012, allocations: 135.4 kB / 0.9568 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.01022, allocations: 107.5 kB / 0.9569 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.0109, allocations: 0.6969 MB / 0.9576 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.0109, allocations: 0 / 0.9576 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.984e-06/0.0109, allocations: 0 / 0.9576 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.01091, allocations: 0 / 0.9576 GB, free: 12.13 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.001013/0.01192, allocations: 0.8584 MB / 0.9585 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.01197, allocations: 16.02 kB / 0.9585 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.012, allocations: 38.75 kB / 0.9585 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.01208, allocations: 72.47 kB / 0.9586 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.01248, allocations: 402.1 kB / 0.959 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.01249, allocations: 4.375 kB / 0.959 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.01251, allocations: 4.375 kB / 0.959 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.0127, allocations: 151.1 kB / 0.9591 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.01271, allocations: 0 / 0.9591 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01272, allocations: 0 / 0.9591 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.01273, allocations: 3.984 kB / 0.9591 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.01281, allocations: 47.91 kB / 0.9592 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.01336, allocations: 487.7 kB / 0.9596 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.01363, allocations: 102.7 kB / 0.9597 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.01368, allocations: 36.84 kB / 0.9598 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.0137, allocations: 3.938 kB / 0.9598 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.01386, allocations: 117 kB / 0.9599 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.01386, allocations: 0 / 0.9599 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003011/0.01416, allocations: 209.1 kB / 0.9601 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.0142, allocations: 77.11 kB / 0.9602 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.01493, allocations: 0.9345 MB / 0.9611 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.01495, allocations: 29.7 kB / 0.9611 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.01519, allocations: 320.1 kB / 0.9614 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.01522, allocations: 19.8 kB / 0.9614 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.01526, allocations: 25.7 kB / 0.9614 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.01534, allocations: 317.9 kB / 0.9617 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.01542, allocations: 31.97 kB / 0.9618 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.01552, allocations: 118.8 kB / 0.9619 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.01562, allocations: 73.62 kB / 0.962 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01562, allocations: 8.031 kB / 0.962 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002147/0.01584, allocations: 177.5 kB / 0.9621 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01586, allocations: 4 kB / 0.9621 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01587, allocations: 3.938 kB / 0.9621 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.01589, allocations: 4 kB / 0.9621 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.01596, allocations: 16 kB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01596, allocations: 0 / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/0.01605, allocations: 7.984 kB / 0.9622 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.01606, allocations: 0 / 0.9622 GB, free: 7.203 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.0002486/0.0163, allocations: 329.6 kB / 0.9625 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.01636, allocations: 71.53 kB / 0.9626 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.01664, allocations: 192.1 kB / 0.9627 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01664, allocations: 0 / 0.9627 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01665, allocations: 4 kB / 0.9627 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01665, allocations: 0 / 0.9627 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.01693, allocations: 360.4 kB / 0.9631 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01694, allocations: 0 / 0.9631 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.01697, allocations: 11.98 kB / 0.9631 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01698, allocations: 3.938 kB / 0.9631 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01699, allocations: 4 kB / 0.9631 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01699, allocations: 0 / 0.9631 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01699, allocations: 0 / 0.9631 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.01719, allocations: 212.5 kB / 0.9633 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.01726, allocations: 71.45 kB / 0.9634 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.01729, allocations: 4 kB / 0.9634 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.01736, allocations: 4 kB / 0.9634 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.01741, allocations: 11.98 kB / 0.9634 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.01743, allocations: 7.984 kB / 0.9634 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005536/0.01798, allocations: 0.6864 MB / 0.9641 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01798, allocations: 0 / 0.9641 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002173/0.0182, allocations: 60 kB / 0.9641 GB, free: 5.117 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.00108/0.01928, allocations: 1.094 MB / 0.9652 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01946, allocations: 75.88 kB / 0.9653 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.01946, allocations: 4 kB / 0.9653 GB, free: 4.105 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.01952, allocations: 35.92 kB / 0.9653 GB, free: 4.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.01996, allocations: 187.4 kB / 0.9655 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.0242, allocations: 4.874 MB / 0.9702 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.02446, allocations: 395.7 kB / 0.9706 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.02461, allocations: 42.97 kB / 0.9707 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.02478, allocations: 204.4 kB / 0.9709 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of SimCode: time 5.92e-07/0.02478, allocations: 0 / 0.9709 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.05401, allocations: 14.66 MB / 0.9852 GB, free: 15.84 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.178, allocations: 15.05 kB / 0.9852 GB, free: 15.82 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 & /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/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.304957709275186]