Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.001086/0.001086, 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.001129/0.001129, allocations: 167.8 kB / 25.04 MB, free: 9.152 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 1.021/1.021, allocations: 177.1 MB / 205.5 MB, free: 5.426 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.906/1.906, allocations: 389.6 MB / 0.6363 GB, free: 12.27 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.351e-05, allocations: 3.062 kB / 0.7761 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003951/0.003974, allocations: 2.012 MB / 0.7781 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.006101, allocations: 1.255 MB / 0.7793 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.006234, allocations: 7.938 kB / 0.7793 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.006633, allocations: 105.1 kB / 0.7794 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.007012, allocations: 141.3 kB / 0.7796 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.007337, allocations: 131.4 kB / 0.7797 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.00765, allocations: 235.3 kB / 0.7799 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.007786, allocations: 26.45 kB / 0.78 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006612/0.008448, allocations: 175.2 kB / 0.7801 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.008594, allocations: 83.78 kB / 0.7802 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.008627, allocations: 12 kB / 0.7802 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.008777, allocations: 63.14 kB / 0.7803 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.008855, allocations: 59.77 kB / 0.7803 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.008921, allocations: 51.84 kB / 0.7804 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.009261, allocations: 195.2 kB / 0.7806 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.009265, allocations: 0 / 0.7806 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.009266, allocations: 0 / 0.7806 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.00927, allocations: 0 / 0.7806 GB, free: 0.8203 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000673/0.009943, allocations: 451.5 kB / 0.781 GB, free: 364 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.009983, allocations: 9.906 kB / 0.781 GB, free: 356 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.01004, allocations: 26.08 kB / 0.781 GB, free: 332 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.01032, allocations: 200.8 kB / 0.7812 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.01034, allocations: 12.12 kB / 0.7812 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.01037, allocations: 8.906 kB / 0.7812 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.01061, allocations: 105.1 kB / 0.7813 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.01062, allocations: 0.5938 kB / 0.7813 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.01063, allocations: 5 kB / 0.7813 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01064, allocations: 4 kB / 0.7814 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.01071, allocations: 33.78 kB / 0.7814 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.01118, allocations: 247.2 kB / 0.7816 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.01136, allocations: 128.8 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.0114, allocations: 17.73 kB / 0.7818 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.01141, allocations: 3.938 kB / 0.7818 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.01156, allocations: 95.91 kB / 0.7819 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.01156, allocations: 0 / 0.7819 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000228/0.01179, allocations: 110.7 kB / 0.782 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.01184, allocations: 59.33 kB / 0.782 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.0121, allocations: 252.5 kB / 0.7823 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.01213, allocations: 33.7 kB / 0.7823 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.01219, allocations: 113.9 kB / 0.7824 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.01224, allocations: 43.67 kB / 0.7824 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.01233, allocations: 63.41 kB / 0.7825 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01244, allocations: 342.7 kB / 0.7828 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.0125, allocations: 22.81 kB / 0.7828 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.01258, allocations: 73.11 kB / 0.7829 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.01273, allocations: 118.6 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01273, allocations: 0.8125 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002252/0.01296, allocations: 145.1 kB / 0.7832 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01298, allocations: 8.547 kB / 0.7832 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01298, allocations: 8 kB / 0.7832 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01299, allocations: 4.781 kB / 0.7832 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.01318, allocations: 41.08 kB / 0.7832 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.01319, allocations: 11.92 kB / 0.7832 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.01329, allocations: 15.94 kB / 0.7833 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.01331, allocations: 5.469 kB / 0.7833 GB, free: 13.88 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: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001044/0.01341, allocations: 140.5 kB / 0.7834 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.01344, allocations: 19.98 kB / 0.7834 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.01362, allocations: 103 kB / 0.7835 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01363, allocations: 1.062 kB / 0.7835 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01363, allocations: 0 / 0.7835 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01363, allocations: 3.984 kB / 0.7835 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.01413, allocations: 367 kB / 0.7839 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01413, allocations: 0.5312 kB / 0.7839 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/0.0142, allocations: 20.92 kB / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01421, allocations: 0 / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01422, allocations: 0 / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01422, allocations: 5.062 kB / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01422, allocations: 0 / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.01442, allocations: 245.4 kB / 0.7841 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.01445, allocations: 23.84 kB / 0.7842 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.01448, allocations: 9.125 kB / 0.7842 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.01458, allocations: 7.984 kB / 0.7842 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.01464, allocations: 19.97 kB / 0.7842 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01465, allocations: 5.438 kB / 0.7842 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001043/0.01475, allocations: 90.64 kB / 0.7843 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01475, allocations: 0 / 0.7843 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002983/0.01505, allocations: 45.5 kB / 0.7843 GB, free: 12.74 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001765/0.01682, allocations: 0.5267 MB / 0.7848 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01702, allocations: 89.47 kB / 0.7849 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.01703, allocations: 5.125 kB / 0.7849 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.01711, allocations: 50.95 kB / 0.785 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01744, allocations: 56.72 kB / 0.785 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.01817, allocations: 375.4 kB / 0.7854 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.275e-05/0.01825, allocations: 89 kB / 0.7855 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.01835, allocations: 29.91 kB / 0.7855 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.0185, allocations: 87.36 kB / 0.7856 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/0.0185, allocations: 0 / 0.7856 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.009771/0.02827, allocations: 3.536 MB / 0.789 GB, free: 8.297 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.018315496854484]