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.001673/0.001673, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001427/0.001427, allocations: 191.6 kB / 22.17 MB, free: 5.648 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.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.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.931/2.931, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 75.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8023, allocations: 168.7 MB / 1.274 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004141/0.8064, allocations: 2.189 MB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004025/0.8104, allocations: 2.682 MB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.8106, allocations: 7.938 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.8121, allocations: 0.5354 MB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.8124, allocations: 123.3 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.8132, allocations: 238.4 kB / 1.28 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.8137, allocations: 375.3 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.8139, allocations: 33.06 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.8141, allocations: 127.4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.8143, allocations: 155.1 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.8144, allocations: 8 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.8145, allocations: 63.97 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.8147, allocations: 135.4 kB / 1.281 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.8149, allocations: 230.3 kB / 1.281 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.8158, allocations: 0.7234 MB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8158, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8158, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.8158, allocations: 0 / 1.281 GB, free: 12.98 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.001459/0.8173, allocations: 0.9299 MB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8173, allocations: 12.03 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.8175, allocations: 76.41 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.8181, allocations: 468.8 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.8181, allocations: 8.375 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.8181, allocations: 4.125 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.8184, allocations: 104.2 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.8184, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.8184, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.8184, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.8185, allocations: 39.98 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.8194, allocations: 0.5278 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.8198, allocations: 98.64 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.8199, allocations: 32.84 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.8199, allocations: 0 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.8201, allocations: 95.36 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.8201, allocations: 0 / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004503/0.8206, allocations: 197.2 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.8206, allocations: 102.8 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.8218, allocations: 0.9227 MB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.8218, allocations: 25.7 kB / 1.285 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.8221, allocations: 312.1 kB / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.8222, allocations: 19.86 kB / 1.285 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.8222, allocations: 33.7 kB / 1.285 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8224, allocations: 309.9 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.8224, allocations: 27.98 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.8226, allocations: 80.14 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.8227, allocations: 73.69 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8227, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003001/0.823, allocations: 169.5 kB / 1.286 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.823, allocations: 11.94 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.823, allocations: 0 / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8231, allocations: 0 / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.8231, allocations: 15.98 kB / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8231, allocations: 80 / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.8233, allocations: 15.88 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.8233, allocations: 12.02 kB / 1.286 GB, free: 8.023 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.0003614/0.8237, allocations: 321.6 kB / 1.286 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.8237, allocations: 71.53 kB / 1.286 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.8241, allocations: 188 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8241, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8241, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.8241, allocations: 7.938 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.8246, allocations: 385.4 kB / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8246, allocations: 0 / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.8246, allocations: 19.98 kB / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8246, allocations: 0 / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.8247, allocations: 3.938 kB / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.8247, allocations: 4 kB / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.8247, allocations: 0 / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.825, allocations: 200.5 kB / 1.287 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.8251, allocations: 140.6 kB / 1.287 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.8252, allocations: 3.984 kB / 1.287 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.8253, allocations: 8 kB / 1.287 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.8254, allocations: 16.02 kB / 1.287 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.8254, allocations: 7.938 kB / 1.287 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008343/0.8263, allocations: 0.6746 MB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8263, allocations: 0 / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003187/0.8266, allocations: 59.94 kB / 1.288 GB, free: 5.832 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.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.001573/0.8282, allocations: 437.8 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.8284, allocations: 71.95 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8284, allocations: 0 / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.8285, allocations: 39.91 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.8292, allocations: 165.7 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.831, allocations: 1.158 MB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007195/0.8317, allocations: 0.9901 MB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.8319, allocations: 55.25 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.8319, allocations: 27.44 kB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.8319, allocations: 4 kB / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of Templates: time 0.01403/0.846, allocations: 6.123 MB / 1.297 GB, free: 13.01 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] 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: 8.894444754812866]