Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002525/0.002525, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 220.2 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.724/1.724, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.38/3.38, allocations: 0.5045 GB / 0.8104 GB, free: 2.816 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003758/0.003758, allocations: 63.91 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9804/0.9842, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002574/0.9867, allocations: 0.8869 MB / 1.354 GB, free: 0.7227 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.9886, allocations: 1.081 MB / 1.355 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.9887, allocations: 4 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.9888, allocations: 15.75 kB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.989, allocations: 43.69 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.9894, allocations: 135.7 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.9899, allocations: 355.3 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.99, allocations: 17.8 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.9903, allocations: 179.6 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.9907, allocations: 199.4 kB / 1.356 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.9908, allocations: 36 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.9909, allocations: 32 kB / 1.356 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.991, allocations: 111.8 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.9912, allocations: 111.5 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.9917, allocations: 353.4 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9917, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9917, allocations: 4 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.9917, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00208/0.9938, allocations: 0.7041 MB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.9938, allocations: 12.92 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.994, allocations: 36.78 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/0.9948, allocations: 277.9 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.9949, allocations: 12.38 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.9949, allocations: 32.11 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.9958, allocations: 340.8 kB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.9958, allocations: 4 kB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.9958, allocations: 8 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.9958, allocations: 4 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.9965, allocations: 206.4 kB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.9982, allocations: 0.6017 MB / 1.359 GB, free: 11.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/0.999, allocations: 241 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.9995, allocations: 173.6 kB / 1.359 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.9995, allocations: 8.438 kB / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008254/1, allocations: 341.2 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of pre-optimization done (n=30): time 2.796e-06/1, allocations: 0 / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=30): time 0.001896/1.002, allocations: 0.6365 MB / 1.36 GB, free: 10.32 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.355e-05/1.002, allocations: 89.11 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/1.003, allocations: 208.2 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/1.003, allocations: 53.69 kB / 1.36 GB, free: 9.941 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.003, allocations: 125.1 kB / 1.36 GB, free: 9.816 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.003, allocations: 87.44 kB / 1.36 GB, free: 9.73 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/1.003, allocations: 78.12 kB / 1.36 GB, free: 9.648 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.003, allocations: 342.8 kB / 1.361 GB, free: 9.305 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/1.003, allocations: 112.8 kB / 1.361 GB, free: 9.195 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/1.004, allocations: 181.4 kB / 1.361 GB, free: 9.004 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/1.004, allocations: 202.6 kB / 1.361 GB, free: 8.793 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.004, allocations: 0 / 1.361 GB, free: 8.793 MB / 1.042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006703/1.005, allocations: 346.8 kB / 1.362 GB, free: 8.449 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.005, allocations: 6.344 kB / 1.362 GB, free: 8.445 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.005, allocations: 0 / 1.362 GB, free: 8.445 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.005, allocations: 4 kB / 1.362 GB, free: 8.441 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/1.005, allocations: 51.84 kB / 1.362 GB, free: 8.391 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.005, allocations: 4 kB / 1.362 GB, free: 8.387 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/1.006, allocations: 75.83 kB / 1.362 GB, free: 8.312 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/1.006, allocations: 19.94 kB / 1.362 GB, free: 8.293 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0002215/1.006, allocations: 167.5 kB / 1.362 GB, free: 8.121 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/1.006, allocations: 23.84 kB / 1.362 GB, free: 8.098 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/1.006, allocations: 33.47 kB / 1.362 GB, free: 8.062 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.006, allocations: 4 kB / 1.362 GB, free: 8.059 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.006, allocations: 4 kB / 1.362 GB, free: 8.055 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.006, allocations: 3.984 kB / 1.362 GB, free: 8.051 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/1.006, allocations: 213 kB / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.006, allocations: 4 kB / 1.362 GB, free: 7.809 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/1.006, allocations: 11.92 kB / 1.362 GB, free: 7.797 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.006, allocations: 4 kB / 1.362 GB, free: 7.793 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/1.006, allocations: 15.97 kB / 1.362 GB, free: 7.777 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.006, allocations: 0 / 1.362 GB, free: 7.777 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.006, allocations: 0 / 1.362 GB, free: 7.777 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/1.008, allocations: 0.5132 MB / 1.363 GB, free: 7.242 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/1.008, allocations: 27.73 kB / 1.363 GB, free: 7.215 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/1.008, allocations: 20 kB / 1.363 GB, free: 7.195 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/1.008, allocations: 67.89 kB / 1.363 GB, free: 7.129 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/1.009, allocations: 79.86 kB / 1.363 GB, free: 7.051 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/1.009, allocations: 11.98 kB / 1.363 GB, free: 7.039 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001664/1.009, allocations: 151.3 kB / 1.363 GB, free: 6.891 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/1.009, allocations: 3.938 kB / 1.363 GB, free: 6.887 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000331/1.009, allocations: 67.94 kB / 1.363 GB, free: 6.82 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002525/1.009, allocations: 130.9 kB / 1.363 GB, free: 6.688 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.01, allocations: 346.1 kB / 1.364 GB, free: 6.352 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.01, allocations: 0 / 1.364 GB, free: 6.352 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/1.011, allocations: 187.8 kB / 1.364 GB, free: 6.168 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/1.011, allocations: 72.16 kB / 1.364 GB, free: 6.098 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/1.013, allocations: 0.5411 MB / 1.364 GB, free: 5.523 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/1.013, allocations: 128.9 kB / 1.364 GB, free: 5.379 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001735/1.013, allocations: 38.97 kB / 1.365 GB, free: 5.336 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/1.013, allocations: 47.39 kB / 1.365 GB, free: 5.289 MB / 1.042 GB Notification: Performance of SimCode: time 1.022e-06/1.013, allocations: 4 kB / 1.365 GB, free: 5.285 MB / 1.042 GB Notification: Performance of Templates: time 0.01335/1.027, allocations: 6.382 MB / 1.371 GB, free: 15.02 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.738378413952887]