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.000863/0.000863, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.0009078/0.0009078, allocations: 165.5 kB / 24.96 MB, free: 7.707 MB / 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.9197/0.9197, allocations: 177.2 MB / 205.4 MB, free: 5.492 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.892/1.892, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.064e-06/2.064e-06, allocations: 0 / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.59e-05, allocations: 2.312 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.0014/0.001416, allocations: 0.962 MB / 0.7769 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.002481, allocations: 1.108 MB / 0.778 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.002533, allocations: 0 / 0.778 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.00263, allocations: 16.91 kB / 0.778 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.002751, allocations: 51.55 kB / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.003001, allocations: 145.5 kB / 0.7782 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.003217, allocations: 351.3 kB / 0.7785 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.003296, allocations: 30.31 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.003628, allocations: 306.2 kB / 0.7789 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.003791, allocations: 183.6 kB / 0.779 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.003824, allocations: 27.16 kB / 0.7791 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.003885, allocations: 31.98 kB / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.003965, allocations: 99.75 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.004026, allocations: 83.8 kB / 0.7793 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004222, allocations: 243.8 kB / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004224, allocations: 0 / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004225, allocations: 0.6875 kB / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.004228, allocations: 0 / 0.7795 GB, free: 1.789 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.0008102/0.005038, allocations: 0.5229 MB / 0.78 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.00507, allocations: 10.38 kB / 0.78 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.005198, allocations: 40.89 kB / 0.7801 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.005401, allocations: 201.8 kB / 0.7803 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.005425, allocations: 21.69 kB / 0.7803 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.005451, allocations: 20.38 kB / 0.7803 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.005763, allocations: 259.5 kB / 0.7805 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005772, allocations: 3.938 kB / 0.7805 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.005791, allocations: 7.984 kB / 0.7806 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005797, allocations: 4.75 kB / 0.7806 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.005905, allocations: 65.25 kB / 0.7806 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.006442, allocations: 431 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.006618, allocations: 131.8 kB / 0.7812 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.006702, allocations: 68.44 kB / 0.7812 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.00672, allocations: 8 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.006928, allocations: 229.8 kB / 0.7814 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.192e-06/0.006929, allocations: 4 kB / 0.7815 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0002677/0.007197, allocations: 202.9 kB / 0.7816 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.007238, allocations: 98.34 kB / 0.7817 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.00733, allocations: 194.3 kB / 0.7819 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.007361, allocations: 57.69 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.007398, allocations: 108.8 kB / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.007447, allocations: 84.5 kB / 0.7822 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.007514, allocations: 90.06 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.007586, allocations: 340.2 kB / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.007634, allocations: 40.98 kB / 0.7826 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.007711, allocations: 114.1 kB / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.007825, allocations: 151.7 kB / 0.7829 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007827, allocations: 1.031 kB / 0.7829 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004332/0.008261, allocations: 208.7 kB / 0.7831 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.008272, allocations: 4.781 kB / 0.7831 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.008276, allocations: 4 kB / 0.7831 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.00829, allocations: 4.875 kB / 0.7831 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.008428, allocations: 63.91 kB / 0.7831 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.008436, allocations: 11.94 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.008546, allocations: 71.84 kB / 0.7832 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.00856, allocations: 12 kB / 0.7832 GB, free: 13.79 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 9.433e-05/0.008654, allocations: 153.8 kB / 0.7834 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.00869, allocations: 31.91 kB / 0.7834 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.008729, allocations: 29.47 kB / 0.7834 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008732, allocations: 7.031 kB / 0.7834 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.008734, allocations: 0 / 0.7834 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.00874, allocations: 7.984 kB / 0.7835 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.008846, allocations: 129.7 kB / 0.7836 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008847, allocations: 0 / 0.7836 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.00888, allocations: 19.92 kB / 0.7836 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.008883, allocations: 3.938 kB / 0.7836 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.008902, allocations: 19.91 kB / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.008904, allocations: 5.5 kB / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008905, allocations: 0 / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.009091, allocations: 188.3 kB / 0.7838 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.009107, allocations: 25.05 kB / 0.7838 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.009148, allocations: 23.92 kB / 0.7838 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.009276, allocations: 49.25 kB / 0.7839 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.009377, allocations: 87.78 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.009404, allocations: 20.62 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.009439, allocations: 55.55 kB / 0.7841 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009439, allocations: 0 / 0.7841 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001437/0.009582, allocations: 60 kB / 0.7841 GB, free: 12.84 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 9.039e-05/0.009673, allocations: 114.8 kB / 0.7842 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.009883, allocations: 185 kB / 0.7844 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.009886, allocations: 4 kB / 0.7844 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.009993, allocations: 97.98 kB / 0.7845 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.0102, allocations: 90.48 kB / 0.7846 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.01077, allocations: 414.7 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.01082, allocations: 84.62 kB / 0.7851 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.132e-05/0.01091, allocations: 43.23 kB / 0.7851 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.01107, allocations: 124.7 kB / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.01107, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.007465/0.01853, allocations: 6.767 MB / 0.7918 GB, free: 5.098 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: 4.9764703046530485]