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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.002172/0.002172, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.441/1.441, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.126/3.126, allocations: 489 MB / 0.7678 GB, free: 29.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002589/0.00259, allocations: 67.89 kB / 1.101 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8761/0.8787, allocations: 163.8 MB / 1.261 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004002/0.8828, allocations: 2.16 MB / 1.263 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.8869, allocations: 2.651 MB / 1.266 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.8871, allocations: 0 / 1.266 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.8888, allocations: 0.5393 MB / 1.266 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.8892, allocations: 123.3 kB / 1.266 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.8899, allocations: 234.9 kB / 1.267 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.8904, allocations: 370.2 kB / 1.267 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.8906, allocations: 77.05 kB / 1.267 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.8908, allocations: 127.4 kB / 1.267 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.8911, allocations: 139.2 kB / 1.267 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.8911, allocations: 8 kB / 1.267 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.8913, allocations: 71.89 kB / 1.267 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.8915, allocations: 127.5 kB / 1.268 GB, free: 480 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.8918, allocations: 242.3 kB / 1.268 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009679/0.8928, allocations: 0.7118 MB / 1.268 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.8928, allocations: 0 / 1.268 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8928, allocations: 7.875 kB / 1.268 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8928, allocations: 0 / 1.268 GB, free: 15.51 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.001413/0.8943, allocations: 0.9299 MB / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8943, allocations: 12.02 kB / 1.269 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.8944, allocations: 42.75 kB / 1.269 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.8945, allocations: 72.47 kB / 1.269 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.8951, allocations: 468.7 kB / 1.27 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.8951, allocations: 4.375 kB / 1.27 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.8951, allocations: 7.938 kB / 1.27 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.8954, allocations: 96.23 kB / 1.27 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.8954, allocations: 0 / 1.27 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.8954, allocations: 0 / 1.27 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.8954, allocations: 3.984 kB / 1.27 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.8956, allocations: 47.91 kB / 1.27 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.8964, allocations: 0.524 MB / 1.271 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.8968, allocations: 106.7 kB / 1.271 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.8969, allocations: 32.84 kB / 1.271 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.8969, allocations: 0 / 1.271 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.8971, allocations: 83.38 kB / 1.271 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.8971, allocations: 4 kB / 1.271 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004592/0.8976, allocations: 205.1 kB / 1.271 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.8977, allocations: 102.8 kB / 1.271 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.8989, allocations: 0.9226 MB / 1.272 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.8989, allocations: 29.64 kB / 1.272 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.8992, allocations: 320 kB / 1.272 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.8993, allocations: 19.84 kB / 1.272 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.8993, allocations: 29.7 kB / 1.272 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8995, allocations: 306 kB / 1.273 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.8996, allocations: 27.98 kB / 1.273 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.8997, allocations: 76.2 kB / 1.273 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.8999, allocations: 73.95 kB / 1.273 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8999, allocations: 0 / 1.273 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003093/0.9002, allocations: 177.2 kB / 1.273 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9002, allocations: 4 kB / 1.273 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9002, allocations: 4 kB / 1.273 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.9002, allocations: 3.938 kB / 1.273 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.9003, allocations: 12 kB / 1.273 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9004, allocations: 3.984 kB / 1.273 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.9005, allocations: 15.92 kB / 1.273 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.9005, allocations: 4 kB / 1.273 GB, free: 10.5 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.0003573/0.9009, allocations: 321.7 kB / 1.273 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.901, allocations: 67.53 kB / 1.273 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.9011, allocations: 78.42 kB / 1.274 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.9011, allocations: 3.984 kB / 1.274 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.9011, allocations: 0 / 1.274 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.9011, allocations: 7.938 kB / 1.274 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.9016, allocations: 393.4 kB / 1.274 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9016, allocations: 4 kB / 1.274 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.9016, allocations: 11.94 kB / 1.274 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.9017, allocations: 0 / 1.274 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.9017, allocations: 0 / 1.274 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.9017, allocations: 0 / 1.274 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9017, allocations: 4 kB / 1.274 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.902, allocations: 196.6 kB / 1.274 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.9022, allocations: 144.6 kB / 1.274 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.9022, allocations: 11.94 kB / 1.274 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.9024, allocations: 11.98 kB / 1.274 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.9024, allocations: 7.938 kB / 1.274 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.9024, allocations: 3.984 kB / 1.274 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008713/0.9033, allocations: 0.6786 MB / 1.275 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9033, allocations: 0 / 1.275 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003288/0.9037, allocations: 55.98 kB / 1.275 GB, free: 8.422 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.002203/0.9059, allocations: 1.067 MB / 1.276 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.9062, allocations: 75.88 kB / 1.276 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9062, allocations: 0 / 1.276 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.9063, allocations: 35.98 kB / 1.276 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.9071, allocations: 173.1 kB / 1.276 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.9135, allocations: 4.833 MB / 1.281 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.9143, allocations: 0.9902 MB / 1.282 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.9145, allocations: 46.97 kB / 1.282 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.9147, allocations: 191.4 kB / 1.282 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.9147, allocations: 3.938 kB / 1.282 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03922/0.954, allocations: 13.25 MB / 1.295 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.603/10.56, allocations: 11.61 kB / 1.295 GB, free: 4.062 MB / 0.9981 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.699377737008035]