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) 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-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004064/0.004064, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.001095/0.001095, allocations: 190.3 kB / 16.67 MB, free: 5.871 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.447/2.447, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 68.11 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.667, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003184/0.6703, allocations: 2.153 MB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.6732, allocations: 2.651 MB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.6733, allocations: 7.938 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.6745, allocations: 0.5354 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.6747, allocations: 127.3 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.6752, allocations: 230.8 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.6756, allocations: 371 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.6757, allocations: 73.06 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.6759, allocations: 131.4 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.6761, allocations: 139.2 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.6761, allocations: 8 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.6763, allocations: 67.91 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.6764, allocations: 131.5 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.6766, allocations: 234.3 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.6773, allocations: 0.7166 MB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.6773, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6773, allocations: 4 kB / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.6773, allocations: 0 / 1.228 GB, free: 10.47 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.001025/0.6783, allocations: 0.9299 MB / 1.228 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.6784, allocations: 12.03 kB / 1.228 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.6784, allocations: 38.73 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.6785, allocations: 72.47 kB / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.679, allocations: 476.7 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.679, allocations: 384 / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.679, allocations: 7.938 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.6792, allocations: 96.17 kB / 1.229 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6792, allocations: 0 / 1.229 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6792, allocations: 4 kB / 1.229 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6792, allocations: 0 / 1.229 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.6794, allocations: 43.97 kB / 1.229 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.68, allocations: 0.5239 MB / 1.23 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.6803, allocations: 110.6 kB / 1.23 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.6804, allocations: 32.84 kB / 1.23 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.6805, allocations: 4 kB / 1.23 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.6806, allocations: 91.31 kB / 1.23 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.6806, allocations: 0 / 1.23 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003687/0.681, allocations: 197.2 kB / 1.23 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.6811, allocations: 106.8 kB / 1.23 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/0.682, allocations: 0.9226 MB / 1.231 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.6821, allocations: 29.7 kB / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.6823, allocations: 320 kB / 1.231 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.6824, allocations: 23.8 kB / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.6824, allocations: 25.7 kB / 1.231 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6825, allocations: 314 kB / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.6826, allocations: 27.98 kB / 1.232 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.6827, allocations: 76.27 kB / 1.232 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.6829, allocations: 73.64 kB / 1.232 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6829, allocations: 0 / 1.232 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002485/0.6831, allocations: 177.4 kB / 1.232 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.6831, allocations: 4 kB / 1.232 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.6831, allocations: 0 / 1.232 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.6832, allocations: 4 kB / 1.232 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.6832, allocations: 12 kB / 1.232 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6832, allocations: 80 / 1.232 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.6833, allocations: 15.95 kB / 1.232 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.6834, allocations: 7.984 kB / 1.232 GB, free: 5.453 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.0002838/0.6837, allocations: 317.7 kB / 1.232 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.6837, allocations: 71.53 kB / 1.233 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.6838, allocations: 74.42 kB / 1.233 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.6838, allocations: 3.984 kB / 1.233 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.6839, allocations: 7.938 kB / 1.233 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6839, allocations: 3.938 kB / 1.233 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.6842, allocations: 389.4 kB / 1.233 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6842, allocations: 4 kB / 1.233 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.6843, allocations: 8 kB / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.6843, allocations: 0 / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6843, allocations: 0 / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6843, allocations: 192 / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.6843, allocations: 0 / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.6846, allocations: 208.5 kB / 1.233 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.6847, allocations: 144.6 kB / 1.233 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.6848, allocations: 12 kB / 1.233 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.6849, allocations: 7.922 kB / 1.233 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.6849, allocations: 15.94 kB / 1.233 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.685, allocations: 7.984 kB / 1.233 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007232/0.6857, allocations: 0.6785 MB / 1.234 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6857, allocations: 0 / 1.234 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002496/0.6859, allocations: 59.98 kB / 1.234 GB, free: 3.359 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.001777/0.6877, allocations: 1.047 MB / 1.235 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.6879, allocations: 75.89 kB / 1.235 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6879, allocations: 0 / 1.235 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.688, allocations: 35.98 kB / 1.235 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.6886, allocations: 183.5 kB / 1.235 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.6937, allocations: 4.84 MB / 1.24 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.6943, allocations: 0.9902 MB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.6944, allocations: 51.2 kB / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.6947, allocations: 191.3 kB / 1.241 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.6947, allocations: 0 / 1.241 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.192/1.887, allocations: 13.24 MB / 1.254 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.44/22.33, allocations: 15.73 kB / 1.254 GB, free: 15.02 MB / 0.9825 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches