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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006367/0.006367, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.583/2.583, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.679, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003251/0.6823, allocations: 2.159 MB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.6855, allocations: 2.655 MB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.6856, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.6868, allocations: 0.5354 MB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.6871, allocations: 119.4 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.6877, allocations: 239 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.6881, allocations: 378.2 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.6882, allocations: 73.08 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.6884, allocations: 131.4 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.6886, allocations: 147.2 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.6886, allocations: 8 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.6888, allocations: 67.95 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.6889, allocations: 131.5 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.6891, allocations: 226.4 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.6898, allocations: 0.7282 MB / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6898, allocations: 0 / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6898, allocations: 0 / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.6898, allocations: 0 / 1.227 GB, free: 10.65 MB / 0.9512 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.001118/0.691, allocations: 0.9363 MB / 1.228 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.691, allocations: 8.625 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.691, allocations: 34.75 kB / 1.228 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.6911, allocations: 80.39 kB / 1.228 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.6916, allocations: 460.8 kB / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.6917, allocations: 8.375 kB / 1.229 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.6917, allocations: 7.938 kB / 1.229 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.6919, allocations: 100.2 kB / 1.229 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.6919, allocations: 0 / 1.229 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.6919, allocations: 0 / 1.229 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.692, allocations: 4 kB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.6921, allocations: 39.97 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.6928, allocations: 0.5278 MB / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.6932, allocations: 98.64 kB / 1.229 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.6933, allocations: 32.84 kB / 1.229 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.6933, allocations: 0 / 1.229 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.6935, allocations: 91.33 kB / 1.23 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 3.256e-06/0.6935, allocations: 96 / 1.23 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003934/0.6939, allocations: 197.2 kB / 1.23 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.6939, allocations: 102.8 kB / 1.23 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009907/0.6949, allocations: 0.9304 MB / 1.231 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.695, allocations: 29.7 kB / 1.231 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.6952, allocations: 312.1 kB / 1.231 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.6953, allocations: 35.77 kB / 1.231 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.6953, allocations: 21.72 kB / 1.231 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.6954, allocations: 314 kB / 1.231 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.6955, allocations: 27.98 kB / 1.231 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.6956, allocations: 76.16 kB / 1.231 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.6958, allocations: 73.69 kB / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6958, allocations: 4 kB / 1.232 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002784/0.6961, allocations: 169.1 kB / 1.232 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6961, allocations: 8 kB / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6961, allocations: 0 / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.6961, allocations: 0 / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.6962, allocations: 15.98 kB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6962, allocations: 0 / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.6964, allocations: 11.92 kB / 1.232 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.6964, allocations: 12.03 kB / 1.232 GB, free: 5.648 MB / 0.9512 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.0002854/0.6967, allocations: 320.4 kB / 1.232 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.6967, allocations: 71.53 kB / 1.232 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.6969, allocations: 78.41 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6969, allocations: 48 / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6969, allocations: 3.984 kB / 1.232 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6969, allocations: 3.938 kB / 1.232 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.6973, allocations: 397.4 kB / 1.233 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6973, allocations: 0 / 1.233 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.6973, allocations: 11.98 kB / 1.233 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6973, allocations: 0 / 1.233 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.6973, allocations: 4 kB / 1.233 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6973, allocations: 0 / 1.233 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6974, allocations: 0 / 1.233 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.6976, allocations: 201 kB / 1.233 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.6978, allocations: 152.4 kB / 1.233 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.6979, allocations: 4 kB / 1.233 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.698, allocations: 8 kB / 1.233 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.6981, allocations: 15.92 kB / 1.233 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.6981, allocations: 4 kB / 1.233 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007479/0.6988, allocations: 0.6785 MB / 1.234 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6988, allocations: 0 / 1.234 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002931/0.6991, allocations: 56 kB / 1.234 GB, free: 3.562 MB / 0.9512 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.001389/0.7005, allocations: 1.055 MB / 1.235 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.7008, allocations: 75.89 kB / 1.235 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7008, allocations: 4 kB / 1.235 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.7009, allocations: 31.98 kB / 1.235 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.7016, allocations: 183.8 kB / 1.235 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.7069, allocations: 4.844 MB / 1.24 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.7075, allocations: 0.9902 MB / 1.241 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.7077, allocations: 47.27 kB / 1.241 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.7079, allocations: 191.4 kB / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.7079, allocations: 0 / 1.241 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.7397, allocations: 13.24 MB / 1.254 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/9.481, allocations: 10.5 kB / 1.254 GB, free: 15.2 MB / 0.9825 GB (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 50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches