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.001427/0.001427, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001498/0.001498, allocations: 186 kB / 20.78 MB, free: 1.539 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.44/1.44, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.774/2.774, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 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.002021/0.002021, allocations: 71.88 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8834, allocations: 168.7 MB / 1.272 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003229/0.8867, allocations: 2.194 MB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.8894, allocations: 2.688 MB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.8896, allocations: 1.719 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.8908, allocations: 0.5457 MB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.8911, allocations: 117.2 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.8917, allocations: 235.8 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.8921, allocations: 374.5 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.8922, allocations: 28.22 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.8924, allocations: 135.5 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.8926, allocations: 145.6 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.8926, allocations: 8 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.8928, allocations: 72.06 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.8929, allocations: 138.1 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.8931, allocations: 231.3 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.8938, allocations: 0.7095 MB / 1.279 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8938, allocations: 4.641 kB / 1.279 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8938, allocations: 0 / 1.279 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.8938, allocations: 0.8438 kB / 1.279 GB, free: 3.102 MB / 0.9981 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.001108/0.895, allocations: 0.9399 MB / 1.28 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.895, allocations: 10.34 kB / 1.28 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.895, allocations: 38.05 kB / 1.28 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.8951, allocations: 71.97 kB / 1.28 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.8956, allocations: 460.9 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.8956, allocations: 7.188 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.8956, allocations: 11.55 kB / 1.28 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.8959, allocations: 96.14 kB / 1.281 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8959, allocations: 0.5625 kB / 1.281 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.8959, allocations: 5.094 kB / 1.281 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.8959, allocations: 0.625 kB / 1.281 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.896, allocations: 45.98 kB / 1.281 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007476/0.8968, allocations: 0.5219 MB / 1.281 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.8971, allocations: 98.86 kB / 1.281 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.8972, allocations: 35.22 kB / 1.281 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.8972, allocations: 1.938 kB / 1.281 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.8974, allocations: 86.64 kB / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.8974, allocations: 1.094 kB / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004242/0.8978, allocations: 200 kB / 1.282 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.8979, allocations: 104.3 kB / 1.282 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.899, allocations: 0.9244 MB / 1.283 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.899, allocations: 27.61 kB / 1.283 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.8992, allocations: 315.8 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.8992, allocations: 23.8 kB / 1.283 GB, free: 440 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.8993, allocations: 26.86 kB / 1.283 GB, free: 420 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.8993, allocations: 307.3 kB / 1.283 GB, free: 108 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.8994, allocations: 26.34 kB / 1.283 GB, free: 100 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.8995, allocations: 88.78 kB / 1.283 GB, free: 32 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.8996, allocations: 71.42 kB / 1.283 GB, free: 15.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8997, allocations: 0 / 1.283 GB, free: 15.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002862/0.8999, allocations: 171.1 kB / 1.284 GB, free: 15.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.9, allocations: 5.281 kB / 1.284 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9, allocations: 1.25 kB / 1.284 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9, allocations: 2.125 kB / 1.284 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.9001, allocations: 24.88 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9001, allocations: 2.656 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.9002, allocations: 9.406 kB / 1.284 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.9002, allocations: 3.297 kB / 1.284 GB, free: 15.88 MB / 1.014 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.0003321/0.9006, allocations: 317.8 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.9007, allocations: 72.02 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.901, allocations: 183.2 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.901, allocations: 1.969 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.901, allocations: 4 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.901, allocations: 7.422 kB / 1.284 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.9015, allocations: 392.2 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9015, allocations: 0 / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.9016, allocations: 7.828 kB / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.9016, allocations: 0.5 kB / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.9016, allocations: 4.016 kB / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9016, allocations: 0 / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9016, allocations: 0 / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.9019, allocations: 213.9 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.902, allocations: 142.8 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.9021, allocations: 0.7031 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.9022, allocations: 7.891 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.9023, allocations: 12.41 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.9023, allocations: 3.328 kB / 1.285 GB, free: 15.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008833/0.9032, allocations: 0.6832 MB / 1.286 GB, free: 14.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9032, allocations: 0 / 1.286 GB, free: 14.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003252/0.9035, allocations: 60.31 kB / 1.286 GB, free: 14.75 MB / 1.014 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 (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.00206/0.9056, allocations: 1.06 MB / 1.287 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.9058, allocations: 68.25 kB / 1.287 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9058, allocations: 5.5 kB / 1.287 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.9059, allocations: 37.36 kB / 1.287 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.9067, allocations: 178.7 kB / 1.287 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.9132, allocations: 4.856 MB / 1.292 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.914, allocations: 0.9849 MB / 1.293 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.9142, allocations: 51.28 kB / 1.293 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.9145, allocations: 192 kB / 1.293 GB, free: 10.61 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/0.9145, allocations: 0 / 1.293 GB, free: 10.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04133/0.9558, allocations: 13.29 MB / 1.306 GB, free: 9.078 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.314/10.27, allocations: 9.031 kB / 1.306 GB, free: 9.07 MB / 1.014 GB " [Timeout remaining time 290] (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) [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.25879186799284]