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.002092/0.002092, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002368/0.002368, allocations: 189.3 kB / 22.23 MB, free: 5.133 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.561/1.561, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002108/0.002108, allocations: 67.88 kB / 1.11 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004537/1.11, allocations: 2.18 MB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00426/1.114, allocations: 2.69 MB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/1.114, allocations: 7.938 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/1.116, allocations: 0.5323 MB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/1.116, allocations: 127.4 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007722/1.117, allocations: 237 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005622/1.117, allocations: 378.1 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/1.117, allocations: 29.27 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/1.118, allocations: 135.3 kB / 1.281 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/1.118, allocations: 155.2 kB / 1.281 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/1.118, allocations: 8 kB / 1.281 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/1.118, allocations: 79.89 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/1.118, allocations: 135.4 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/1.119, allocations: 226.4 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/1.12, allocations: 0.7223 MB / 1.282 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.12, allocations: 0 / 1.282 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.305e-06/1.12, allocations: 0 / 1.282 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.12, allocations: 0 / 1.282 GB, free: 12.56 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.001627/1.121, allocations: 0.8546 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.121, allocations: 15.97 kB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.122, allocations: 80.47 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/1.122, allocations: 402.9 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.122, allocations: 8.312 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/1.122, allocations: 8.125 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/1.123, allocations: 96.23 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.123, allocations: 0 / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/1.123, allocations: 4 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.123, allocations: 4 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/1.123, allocations: 47.91 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/1.124, allocations: 499.7 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/1.124, allocations: 94.69 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/1.124, allocations: 36.83 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/1.124, allocations: 4 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/1.124, allocations: 95.31 kB / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/1.124, allocations: 0 / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004857/1.125, allocations: 193.2 kB / 1.284 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.125, allocations: 102.8 kB / 1.284 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.126, allocations: 0.9188 MB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/1.126, allocations: 33.7 kB / 1.285 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/1.127, allocations: 316 kB / 1.285 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/1.127, allocations: 27.73 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/1.127, allocations: 25.7 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.127, allocations: 313.9 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/1.127, allocations: 27.98 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/1.127, allocations: 76.27 kB / 1.286 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/1.127, allocations: 69.64 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.127, allocations: 0 / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002979/1.128, allocations: 173.2 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.128, allocations: 8.188 kB / 1.286 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.128, allocations: 0 / 1.286 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.128, allocations: 3.938 kB / 1.286 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/1.128, allocations: 15.94 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.128, allocations: 4.031 kB / 1.286 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/1.128, allocations: 11.92 kB / 1.286 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/1.128, allocations: 8 kB / 1.286 GB, free: 7.805 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.0003441/1.128, allocations: 317.7 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/1.128, allocations: 71.53 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/1.129, allocations: 180.4 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.129, allocations: 7.984 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.129, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.129, allocations: 7.938 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/1.129, allocations: 364.5 kB / 1.287 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.129, allocations: 0 / 1.287 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/1.129, allocations: 8 kB / 1.287 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.129, allocations: 0 / 1.287 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.129, allocations: 8 kB / 1.287 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.129, allocations: 4 kB / 1.287 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.129, allocations: 3.984 kB / 1.287 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/1.129, allocations: 204.6 kB / 1.287 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.13, allocations: 67.52 kB / 1.287 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/1.13, allocations: 0 / 1.287 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.13, allocations: 7.984 kB / 1.287 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/1.13, allocations: 11.98 kB / 1.287 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/1.13, allocations: 7.938 kB / 1.287 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008515/1.131, allocations: 0.6746 MB / 1.288 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.131, allocations: 0 / 1.288 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003118/1.131, allocations: 67.88 kB / 1.288 GB, free: 5.734 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.001673/1.133, allocations: 424.7 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000268/1.133, allocations: 63.91 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.133, allocations: 4 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/1.133, allocations: 31.98 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/1.134, allocations: 178.7 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/1.136, allocations: 1.155 MB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/1.136, allocations: 0.9902 MB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001721/1.137, allocations: 47.27 kB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/1.137, allocations: 27.42 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/1.137, allocations: 0 / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.01444/1.151, allocations: 6.137 MB / 1.297 GB, free: 12.91 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.932153244502842]