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.001135/0.001135, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008656/0.0008656, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9228/0.9228, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.809/1.809, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.616e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002786/0.002812, allocations: 2.13 MB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.005205, allocations: 2.534 MB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.005345, allocations: 0 / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.006426, allocations: 0.4897 MB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.00675, allocations: 171.1 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.00727, allocations: 213.9 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.007749, allocations: 402 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.007899, allocations: 33.27 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.008138, allocations: 171.5 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.008287, allocations: 127.6 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.008312, allocations: 8 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.00846, allocations: 75.88 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.008583, allocations: 135.5 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.008682, allocations: 111.5 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.009291, allocations: 0.6891 MB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.009295, allocations: 4 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009296, allocations: 0 / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.009304, allocations: 4 kB / 1.007 GB, free: 6.164 MB / 0.9636 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.0009532/0.01026, allocations: 0.8584 MB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.0103, allocations: 12.75 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.01033, allocations: 30.75 kB / 1.008 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.01041, allocations: 80.41 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.0108, allocations: 398.2 kB / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.01082, allocations: 8.359 kB / 1.008 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.01083, allocations: 8.375 kB / 1.008 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.01103, allocations: 143 kB / 1.008 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.01104, allocations: 4 kB / 1.008 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.01105, allocations: 8 kB / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.01106, allocations: 0 / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.01114, allocations: 43.97 kB / 1.008 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.01169, allocations: 487.7 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.01196, allocations: 110.6 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.01201, allocations: 32.84 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.01202, allocations: 0 / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.01217, allocations: 117 kB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.01217, allocations: 0 / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002828/0.01245, allocations: 209.3 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.01249, allocations: 77.11 kB / 1.009 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006901/0.01318, allocations: 0.9306 MB / 1.01 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.0132, allocations: 29.7 kB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.01339, allocations: 324 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.01341, allocations: 15.84 kB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.01346, allocations: 29.7 kB / 1.011 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.01354, allocations: 313.9 kB / 1.011 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.01359, allocations: 27.98 kB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.01367, allocations: 130.8 kB / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.01377, allocations: 73.75 kB / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01378, allocations: 0 / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001916/0.01397, allocations: 177.1 kB / 1.011 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01398, allocations: 4 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01399, allocations: 0 / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.014, allocations: 4 kB / 1.011 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.01406, allocations: 16.05 kB / 1.011 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01406, allocations: 4 kB / 1.011 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.01414, allocations: 11.95 kB / 1.011 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.01414, allocations: 3.984 kB / 1.011 GB, free: 1.234 MB / 0.9636 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.0002204/0.01436, allocations: 321.6 kB / 1.012 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.01441, allocations: 71.53 kB / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.01465, allocations: 200 kB / 1.012 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.01465, allocations: 0 / 1.012 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01465, allocations: 0 / 1.012 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01466, allocations: 4 kB / 1.012 GB, free: 0.6328 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.01494, allocations: 360.4 kB / 1.012 GB, free: 244 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01494, allocations: 0 / 1.012 GB, free: 244 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.01497, allocations: 4 kB / 1.012 GB, free: 240 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01498, allocations: 4 kB / 1.012 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.01499, allocations: 7.984 kB / 1.012 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01499, allocations: 0 / 1.012 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01499, allocations: 0 / 1.012 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.01518, allocations: 212.6 kB / 1.012 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.01523, allocations: 67.66 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.01527, allocations: 4 kB / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.01533, allocations: 15.92 kB / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.01538, allocations: 7.984 kB / 1.013 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01539, allocations: 8 kB / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004901/0.01588, allocations: 0.6824 MB / 1.013 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.01588, allocations: 0 / 1.013 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001977/0.01608, allocations: 63.98 kB / 1.013 GB, free: 15.15 MB / 0.9792 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.001227/0.01731, allocations: 1.091 MB / 1.014 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.01747, allocations: 79.89 kB / 1.014 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01747, allocations: 3.938 kB / 1.014 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.01753, allocations: 43.91 kB / 1.014 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.01794, allocations: 162.4 kB / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.02184, allocations: 4.871 MB / 1.019 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.02209, allocations: 403.6 kB / 1.02 GB, free: 8.539 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.02222, allocations: 47.27 kB / 1.02 GB, free: 8.488 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.02239, allocations: 200.4 kB / 1.02 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of SimCode: time 1.633e-06/0.02239, allocations: 0 / 1.02 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.05021, allocations: 14.65 MB / 1.034 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.949, allocations: 6.578 kB / 1.034 GB, free: 9.828 MB / 0.9948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/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: 11.733101393096149]