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.0012/0.0012, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001244/0.001244, allocations: 168.8 kB / 25.05 MB, free: 8.785 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.9427/0.9427, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.884/1.884, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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 1.613e-06/1.613e-06, allocations: 0 / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.72e-05, allocations: 3.078 kB / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.00308/0.003098, allocations: 0.9586 MB / 0.7771 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004753, allocations: 1.098 MB / 0.7782 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.004832, allocations: 0 / 0.7782 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.004968, allocations: 21.33 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.005145, allocations: 57.2 kB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.005564, allocations: 139.7 kB / 0.7784 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.00591, allocations: 355.2 kB / 0.7787 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.00603, allocations: 26.38 kB / 0.7787 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.006563, allocations: 307.1 kB / 0.779 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.006833, allocations: 183.6 kB / 0.7792 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.006891, allocations: 24 kB / 0.7792 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.006994, allocations: 28 kB / 0.7792 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.007117, allocations: 101.3 kB / 0.7793 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.007217, allocations: 91.78 kB / 0.7794 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.007545, allocations: 236.5 kB / 0.7797 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.007547, allocations: 0 / 0.7797 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007548, allocations: 0 / 0.7797 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.007553, allocations: 0 / 0.7797 GB, free: 1.711 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.001058/0.008611, allocations: 0.5312 MB / 0.7802 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.008653, allocations: 9.344 kB / 0.7802 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.008837, allocations: 46.23 kB / 0.7802 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.009125, allocations: 193.5 kB / 0.7804 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.009158, allocations: 16.38 kB / 0.7804 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.009218, allocations: 28.89 kB / 0.7805 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.009713, allocations: 255 kB / 0.7807 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.009725, allocations: 4.625 kB / 0.7807 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.009753, allocations: 8 kB / 0.7807 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.009761, allocations: 5.594 kB / 0.7807 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.009931, allocations: 64.69 kB / 0.7808 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.01082, allocations: 438.9 kB / 0.7812 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.01114, allocations: 131.5 kB / 0.7813 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.01127, allocations: 63.2 kB / 0.7814 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.01129, allocations: 9.219 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.01163, allocations: 229.5 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.01164, allocations: 1.406 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0004436/0.01208, allocations: 215.3 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.01215, allocations: 97.03 kB / 0.7819 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01229, allocations: 195.9 kB / 0.7821 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.01234, allocations: 53.7 kB / 0.7821 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.0124, allocations: 112.8 kB / 0.7822 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.01247, allocations: 75.48 kB / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01257, allocations: 82.77 kB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.01269, allocations: 346.7 kB / 0.7827 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.01278, allocations: 41.52 kB / 0.7828 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.0129, allocations: 114.6 kB / 0.7829 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.01308, allocations: 154.4 kB / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01308, allocations: 0 / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002792/0.01336, allocations: 201.2 kB / 0.7832 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01337, allocations: 4 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.01338, allocations: 4 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01339, allocations: 6.781 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.01362, allocations: 67.91 kB / 0.7833 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.01362, allocations: 11.92 kB / 0.7833 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.01381, allocations: 67.69 kB / 0.7834 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.01384, allocations: 13.31 kB / 0.7834 GB, free: 13.7 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.0001345/0.01397, allocations: 154.9 kB / 0.7835 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.01403, allocations: 31.91 kB / 0.7836 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.01408, allocations: 29.45 kB / 0.7836 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.01409, allocations: 8.906 kB / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01409, allocations: 0 / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.0141, allocations: 4.719 kB / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.01426, allocations: 137.7 kB / 0.7837 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01427, allocations: 0.6875 kB / 0.7837 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.01433, allocations: 11.94 kB / 0.7837 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01433, allocations: 4.906 kB / 0.7838 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.01437, allocations: 15.97 kB / 0.7838 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.01437, allocations: 5.125 kB / 0.7838 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01437, allocations: 0 / 0.7838 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.01469, allocations: 195.1 kB / 0.784 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.01471, allocations: 23.8 kB / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.01477, allocations: 19.94 kB / 0.784 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.015, allocations: 59.86 kB / 0.7841 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.01514, allocations: 78.98 kB / 0.7841 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.01519, allocations: 19.97 kB / 0.7842 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.01524, allocations: 57.95 kB / 0.7842 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01524, allocations: 0 / 0.7842 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002454/0.01549, allocations: 59.98 kB / 0.7843 GB, free: 12.75 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.0001397/0.01563, allocations: 118.2 kB / 0.7844 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.01597, allocations: 186.3 kB / 0.7846 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01597, allocations: 0 / 0.7846 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.01615, allocations: 98.28 kB / 0.7847 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.01648, allocations: 97.83 kB / 0.7847 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.01738, allocations: 417 kB / 0.7851 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.025e-05/0.01744, allocations: 80.64 kB / 0.7852 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.01759, allocations: 48.09 kB / 0.7853 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.01783, allocations: 123.8 kB / 0.7854 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.01783, allocations: 1 kB / 0.7854 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.01172/0.02955, allocations: 6.76 MB / 0.792 GB, free: 5.004 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.981617589481175]