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.001374/0.001374, allocations: 85.41 kB / 20.83 MB, free: 3.629 MB / 18.57 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.001592/0.001592, allocations: 169 kB / 24.25 MB, free: 208 kB / 18.57 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 0.9972/0.9972, allocations: 177.1 MB / 204.7 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.962/1.962, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.733e-06/1.733e-06, allocations: 0 / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.729e-05, allocations: 3.594 kB / 0.7754 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001466/0.001483, allocations: 0.9475 MB / 0.7763 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.00271, allocations: 1.1 MB / 0.7774 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.00279, allocations: 7.938 kB / 0.7774 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.002916, allocations: 13.11 kB / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.00306, allocations: 53.12 kB / 0.7775 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.003436, allocations: 140.9 kB / 0.7776 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.00368, allocations: 351.2 kB / 0.7779 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003781, allocations: 22.39 kB / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.004191, allocations: 314.6 kB / 0.7782 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.004385, allocations: 186.4 kB / 0.7784 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.004428, allocations: 24 kB / 0.7784 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.004509, allocations: 36 kB / 0.7785 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.004597, allocations: 94.89 kB / 0.7786 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.004668, allocations: 87.78 kB / 0.7787 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.004895, allocations: 239.2 kB / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004897, allocations: 0 / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004898, allocations: 3.938 kB / 0.7789 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004901, allocations: 0 / 0.7789 GB, free: 1.719 MB / 0.7292 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.0008173/0.005719, allocations: 0.5183 MB / 0.7794 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.005751, allocations: 13.34 kB / 0.7794 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.005885, allocations: 41.39 kB / 0.7794 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.006088, allocations: 194.2 kB / 0.7796 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.006115, allocations: 20.36 kB / 0.7796 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.006145, allocations: 24.94 kB / 0.7797 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.006479, allocations: 259.2 kB / 0.7799 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.00649, allocations: 5.531 kB / 0.7799 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.006509, allocations: 8 kB / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.006515, allocations: 0 / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.006696, allocations: 72.64 kB / 0.78 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.007337, allocations: 432.2 kB / 0.7804 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.007553, allocations: 128.2 kB / 0.7805 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.007628, allocations: 57.64 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.007645, allocations: 9.5 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.007868, allocations: 237.7 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.00787, allocations: 1.094 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0002982/0.008169, allocations: 202.9 kB / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.008221, allocations: 94.41 kB / 0.7811 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.008332, allocations: 202.2 kB / 0.7813 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.008364, allocations: 49.69 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.008406, allocations: 117.8 kB / 0.7815 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.008462, allocations: 83.47 kB / 0.7815 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.008533, allocations: 82.14 kB / 0.7816 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.008755, allocations: 340.2 kB / 0.7819 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.008813, allocations: 44.98 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.008904, allocations: 110.1 kB / 0.7821 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.009049, allocations: 152.3 kB / 0.7822 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.009052, allocations: 1.031 kB / 0.7822 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002178/0.00927, allocations: 206 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.009287, allocations: 10.42 kB / 0.7824 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.009293, allocations: 0 / 0.7824 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.009305, allocations: 7.938 kB / 0.7825 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.009467, allocations: 71.91 kB / 0.7825 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.009473, allocations: 4 kB / 0.7825 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.009595, allocations: 66.34 kB / 0.7826 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.009613, allocations: 16 kB / 0.7826 GB, free: 13.72 MB / 0.7448 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.0001282/0.009741, allocations: 157.8 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.009783, allocations: 24.8 kB / 0.7828 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.009831, allocations: 33.45 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.009835, allocations: 5.094 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.009839, allocations: 0 / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.009845, allocations: 3.984 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.009981, allocations: 136.8 kB / 0.783 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.009982, allocations: 0 / 0.783 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.01002, allocations: 11.98 kB / 0.783 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.01002, allocations: 7.938 kB / 0.783 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.01005, allocations: 11.97 kB / 0.783 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01005, allocations: 4 kB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01005, allocations: 0 / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.01028, allocations: 189.8 kB / 0.7832 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.01029, allocations: 27.73 kB / 0.7832 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.01034, allocations: 23.92 kB / 0.7832 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.01047, allocations: 53.38 kB / 0.7833 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.01057, allocations: 79.84 kB / 0.7833 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.0106, allocations: 17.23 kB / 0.7834 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.01064, allocations: 61.94 kB / 0.7834 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01064, allocations: 0 / 0.7834 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001639/0.0108, allocations: 60 kB / 0.7835 GB, free: 12.79 MB / 0.7448 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.0001043/0.01091, allocations: 114.3 kB / 0.7836 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.01114, allocations: 191 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.01114, allocations: 0 / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.01126, allocations: 102.9 kB / 0.7839 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01148, allocations: 90.92 kB / 0.784 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.01214, allocations: 409.3 kB / 0.7843 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.01219, allocations: 88.62 kB / 0.7844 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.01231, allocations: 39.16 kB / 0.7845 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.01248, allocations: 123.9 kB / 0.7846 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01248, allocations: 1 kB / 0.7846 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.008641/0.02112, allocations: 6.762 MB / 0.7912 GB, free: 5.039 MB / 0.7448 GB " [Timeout remaining time 300] 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: 5.214348319917917]