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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 111 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001996/0.001996, allocations: 71.88 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7408, allocations: 168.7 MB / 1.269 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004086/0.7449, allocations: 2.169 MB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003714/0.7486, allocations: 2.659 MB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.7488, allocations: 11.94 kB / 1.274 GB, free: 424 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.7503, allocations: 0.5423 MB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.7507, allocations: 123.4 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.7514, allocations: 230.7 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.7519, allocations: 381.4 kB / 1.275 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.7521, allocations: 41.09 kB / 1.275 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.7523, allocations: 135.4 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.7525, allocations: 151.2 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.7526, allocations: 8 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.7528, allocations: 71.88 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.753, allocations: 131.5 kB / 1.275 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.7532, allocations: 230.3 kB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008852/0.7541, allocations: 0.7195 MB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7541, allocations: 4 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7541, allocations: 0 / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.7541, allocations: 4 kB / 1.276 GB, free: 13.67 MB / 0.9825 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.001455/0.7555, allocations: 0.9319 MB / 1.277 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.7556, allocations: 12.03 kB / 1.277 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.7556, allocations: 34.75 kB / 1.277 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.7557, allocations: 72.47 kB / 1.277 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.7564, allocations: 468.7 kB / 1.278 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.7564, allocations: 4.375 kB / 1.278 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.7564, allocations: 7.938 kB / 1.278 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.7566, allocations: 100.2 kB / 1.278 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7566, allocations: 7.938 kB / 1.278 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.7566, allocations: 3.984 kB / 1.278 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7566, allocations: 0 / 1.278 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.7568, allocations: 39.98 kB / 1.278 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008214/0.7576, allocations: 0.5162 MB / 1.278 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.758, allocations: 110.7 kB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.7581, allocations: 28.84 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.7581, allocations: 8 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.7583, allocations: 87.31 kB / 1.279 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.7583, allocations: 4 kB / 1.279 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004556/0.7588, allocations: 193.2 kB / 1.279 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.7588, allocations: 106.8 kB / 1.279 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.76, allocations: 0.9265 MB / 1.28 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.76, allocations: 29.7 kB / 1.28 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.7603, allocations: 312.1 kB / 1.28 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.7604, allocations: 23.78 kB / 1.28 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.7604, allocations: 29.7 kB / 1.28 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7606, allocations: 314 kB / 1.28 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.7607, allocations: 27.98 kB / 1.28 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.7608, allocations: 76.2 kB / 1.281 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.7609, allocations: 73.62 kB / 1.281 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7609, allocations: 0 / 1.281 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003103/0.7613, allocations: 173.1 kB / 1.281 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7613, allocations: 4 kB / 1.281 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7613, allocations: 4 kB / 1.281 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7613, allocations: 0 / 1.281 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.7614, allocations: 15.98 kB / 1.281 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7614, allocations: 0 / 1.281 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.7615, allocations: 11.94 kB / 1.281 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.7615, allocations: 4 kB / 1.281 GB, free: 8.676 MB / 0.9825 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.0003603/0.7619, allocations: 320.5 kB / 1.281 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.762, allocations: 79.5 kB / 1.281 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.7621, allocations: 78.41 kB / 1.281 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.7621, allocations: 4 kB / 1.281 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7621, allocations: 0 / 1.281 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7621, allocations: 4.125 kB / 1.281 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.7626, allocations: 393.4 kB / 1.282 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7626, allocations: 3.938 kB / 1.282 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.7626, allocations: 8 kB / 1.282 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.7626, allocations: 0 / 1.282 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.7626, allocations: 7.984 kB / 1.282 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7626, allocations: 0 / 1.282 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7626, allocations: 4 kB / 1.282 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.763, allocations: 200.6 kB / 1.282 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.7631, allocations: 140.6 kB / 1.282 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.7632, allocations: 4 kB / 1.282 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.7633, allocations: 7.984 kB / 1.282 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.7634, allocations: 19.86 kB / 1.282 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.7634, allocations: 4 kB / 1.282 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008553/0.7642, allocations: 0.6785 MB / 1.283 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7642, allocations: 0 / 1.283 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003154/0.7646, allocations: 59.94 kB / 1.283 GB, free: 6.582 MB / 0.9825 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.002176/0.7667, allocations: 1.057 MB / 1.284 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.767, allocations: 75.89 kB / 1.284 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.767, allocations: 0 / 1.284 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.7671, allocations: 27.98 kB / 1.284 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/0.7679, allocations: 179.2 kB / 1.284 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/0.7748, allocations: 4.844 MB / 1.289 GB, free: 460 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.7755, allocations: 0.9902 MB / 1.29 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.7757, allocations: 59.12 kB / 1.29 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.776, allocations: 191.4 kB / 1.29 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/0.776, allocations: 0 / 1.29 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.8187, allocations: 13.29 MB / 1.303 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.897/10.72, allocations: 9.625 kB / 1.303 GB, free: 2.141 MB / 0.9981 GB " [Timeout remaining time 289] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.704735063016415]