Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001413/0.001413, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001419/0.001419, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.502/1.502, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.886/2.886, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 1.057 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3749, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00473/0.3797, allocations: 2.174 MB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004597/0.3843, allocations: 2.667 MB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.3845, allocations: 3.938 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.3863, allocations: 0.5444 MB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.3868, allocations: 119.4 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.3876, allocations: 235 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007227/0.3884, allocations: 385.8 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3885, allocations: 41.09 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.3887, allocations: 131.4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.389, allocations: 155.2 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.389, allocations: 8 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.3893, allocations: 71.89 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3895, allocations: 135.4 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.3897, allocations: 222.4 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.3907, allocations: 0.7234 MB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3907, allocations: 3.938 kB / 1.221 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3907, allocations: 4 kB / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.3907, allocations: 0 / 1.221 GB, free: 9.324 MB / 0.9669 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.001566/0.3922, allocations: 0.9261 MB / 1.222 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3923, allocations: 8.031 kB / 1.222 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.3924, allocations: 72.47 kB / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.393, allocations: 476.7 kB / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.393, allocations: 384 / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.393, allocations: 8.125 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.3933, allocations: 96.23 kB / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3933, allocations: 7.875 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.3933, allocations: 4 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3933, allocations: 0 / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3935, allocations: 43.97 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.3943, allocations: 0.5123 MB / 1.224 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.3947, allocations: 114.7 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.3948, allocations: 28.84 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3949, allocations: 4 kB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3951, allocations: 83.36 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3951, allocations: 4 kB / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004936/0.3956, allocations: 205.1 kB / 1.224 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3957, allocations: 106.8 kB / 1.224 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.397, allocations: 0.9188 MB / 1.225 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.397, allocations: 25.7 kB / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.3974, allocations: 320 kB / 1.225 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.3974, allocations: 11.91 kB / 1.225 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.3974, allocations: 29.7 kB / 1.225 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3976, allocations: 317.9 kB / 1.226 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.3977, allocations: 23.98 kB / 1.226 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3978, allocations: 80.2 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.398, allocations: 69.64 kB / 1.226 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.398, allocations: 4 kB / 1.226 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003081/0.3983, allocations: 185.1 kB / 1.226 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3983, allocations: 5.406 kB / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3983, allocations: 0 / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3983, allocations: 4 kB / 1.226 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3984, allocations: 12 kB / 1.226 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3984, allocations: 3.984 kB / 1.226 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3986, allocations: 11.94 kB / 1.226 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3986, allocations: 0 / 1.226 GB, free: 4.371 MB / 0.9669 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.0003845/0.3989, allocations: 322.3 kB / 1.226 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.399, allocations: 71.53 kB / 1.226 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.3992, allocations: 86.34 kB / 1.227 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3992, allocations: 4 kB / 1.227 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3992, allocations: 0 / 1.227 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3992, allocations: 7.875 kB / 1.227 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.3997, allocations: 389.4 kB / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3997, allocations: 0 / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.3997, allocations: 8 kB / 1.227 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3997, allocations: 0 / 1.227 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3997, allocations: 8 kB / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3997, allocations: 0 / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.3997, allocations: 3.984 kB / 1.227 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.4001, allocations: 192.6 kB / 1.227 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.4002, allocations: 144.6 kB / 1.227 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.4003, allocations: 4 kB / 1.227 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4004, allocations: 3.984 kB / 1.227 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.4004, allocations: 12 kB / 1.227 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.4005, allocations: 11.92 kB / 1.227 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000862/0.4013, allocations: 0.6785 MB / 1.228 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4013, allocations: 0 / 1.228 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003086/0.4016, allocations: 63.92 kB / 1.228 GB, free: 2.289 MB / 0.9669 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.001649/0.4033, allocations: 432 kB / 1.228 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.4036, allocations: 63.97 kB / 1.228 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4036, allocations: 4.062 kB / 1.228 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4037, allocations: 35.92 kB / 1.228 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.4044, allocations: 180.3 kB / 1.229 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4064, allocations: 1.211 MB / 1.23 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.4071, allocations: 0.9941 MB / 1.231 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.4072, allocations: 27.38 kB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.4072, allocations: 0 / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.01264/0.4198, allocations: 7.167 MB / 1.238 GB, free: 8.371 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.814906754065305]