Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.0009028/0.0009028, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.001091/0.001091, allocations: 175 kB / 25.18 MB, free: 8.918 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.891/0.891, allocations: 177.1 MB / 205.6 MB, free: 5.406 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.866/1.866, allocations: 389.6 MB / 0.6364 GB, free: 12.25 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.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7755 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.412e-05, allocations: 6.25 kB / 0.7755 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001844/0.001858, allocations: 1.618 MB / 0.7771 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.002851, allocations: 0.784 MB / 0.7778 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.002908, allocations: 0 / 0.7778 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.889e-05/0.002997, allocations: 11.86 kB / 0.7779 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.003054, allocations: 17.98 kB / 0.7779 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.003464, allocations: 136.9 kB / 0.778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.003572, allocations: 101.2 kB / 0.7781 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.003635, allocations: 16.22 kB / 0.7781 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.003758, allocations: 67.8 kB / 0.7782 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.00381, allocations: 28.81 kB / 0.7782 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.003826, allocations: 8 kB / 0.7782 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.004016, allocations: 142.8 kB / 0.7784 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.004061, allocations: 39.83 kB / 0.7784 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.004099, allocations: 31.91 kB / 0.7784 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.004304, allocations: 175.4 kB / 0.7786 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004307, allocations: 4 kB / 0.7786 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004308, allocations: 4 kB / 0.7786 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.004311, allocations: 0 / 0.7786 GB, free: 2.875 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004419/0.004753, allocations: 447.8 kB / 0.779 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.004782, allocations: 13.34 kB / 0.779 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.004936, allocations: 32.89 kB / 0.7791 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005072, allocations: 142.9 kB / 0.7792 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.005126, allocations: 89.67 kB / 0.7793 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.005138, allocations: 4.375 kB / 0.7793 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.005267, allocations: 115.7 kB / 0.7794 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.005273, allocations: 192 / 0.7794 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.005282, allocations: 9 kB / 0.7794 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005287, allocations: 0 / 0.7794 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.302e-05/0.00533, allocations: 32.67 kB / 0.7794 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.005585, allocations: 211.6 kB / 0.7796 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.005662, allocations: 104 kB / 0.7797 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.005692, allocations: 33.17 kB / 0.7798 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.005705, allocations: 4 kB / 0.7798 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.005846, allocations: 132.9 kB / 0.7799 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 1.312e-06/0.005848, allocations: 1.406 kB / 0.7799 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.000221/0.006069, allocations: 241.6 kB / 0.7801 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.006117, allocations: 91.27 kB / 0.7802 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.006194, allocations: 161.2 kB / 0.7804 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.006223, allocations: 53.69 kB / 0.7804 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.006254, allocations: 86.23 kB / 0.7805 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.006316, allocations: 119.1 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.006387, allocations: 98.05 kB / 0.7807 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.006469, allocations: 344.5 kB / 0.7811 GB, free: 196 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.006524, allocations: 59.95 kB / 0.7811 GB, free: 136 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.006618, allocations: 133.1 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.006792, allocations: 246.8 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006794, allocations: 0 / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0002403/0.007035, allocations: 284 kB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.007049, allocations: 12.94 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.007054, allocations: 0 / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.007063, allocations: 4 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.007229, allocations: 80.83 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.007233, allocations: 4 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.007295, allocations: 45.12 kB / 0.7819 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.007309, allocations: 12.05 kB / 0.7819 GB, free: 15.28 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 77 (lig.state[33],$PRE.lig.state[33],lig.state[32],$PRE.lig.state[32],lig.state[31],$PRE.lig.state[31],lig.state[30],$PRE.lig.state[30],lig.state[29],$PRE.lig.state[29],lig.state[28],$PRE.lig.state[28],lig.state[27],$PRE.lig.state[27],lig.state[26],$PRE.lig.state[26],lig.state[25],$PRE.lig.state[25],lig.state[24],$PRE.lig.state[24],lig.state[23],$PRE.lig.state[23],lig.state[22],$PRE.lig.state[22],lig.state[21],$PRE.lig.state[21],lig.state[20],$PRE.lig.state[20],lig.state[19],$PRE.lig.state[19],lig.state[18],$PRE.lig.state[18],lig.state[17],$PRE.lig.state[17],lig.state[16],$PRE.lig.state[16],lig.state[15],$PRE.lig.state[15],lig.state[14],$PRE.lig.state[14],lig.state[13],$PRE.lig.state[13],lig.state[12],$PRE.lig.state[12],lig.state[11],$PRE.lig.state[11],lig.state[10],$PRE.lig.state[10],lig.state[9],$PRE.lig.state[9],lig.state[8],$PRE.lig.state[8],lig.state[7],$PRE.lig.state[7],lig.state[6],$PRE.lig.state[6],lig.state[5],$PRE.lig.state[5],lig.state[4],$PRE.lig.state[4],lig.state[3],$PRE.lig.state[3],lig.state[2],$PRE.lig.state[2],lig.state[1],$PRE.lig.state[1],lig.ran,$PRE.lig.ran,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 1 * 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.0001146/0.007423, allocations: 193.2 kB / 0.7821 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.007435, allocations: 8.438 kB / 0.7821 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.007457, allocations: 14.91 kB / 0.7821 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00746, allocations: 7.984 kB / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007462, allocations: 3.125 kB / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007465, allocations: 0 / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.007767, allocations: 419.5 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.00777, allocations: 3.938 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.0078, allocations: 11.98 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007802, allocations: 0 / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.007808, allocations: 0 / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007809, allocations: 2.781 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.007812, allocations: 3.984 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.007983, allocations: 318.2 kB / 0.7828 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.008001, allocations: 39.59 kB / 0.7829 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.00803, allocations: 31.98 kB / 0.7829 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.008077, allocations: 7.984 kB / 0.7829 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.008109, allocations: 7.984 kB / 0.7829 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.008121, allocations: 9.281 kB / 0.7829 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.144e-05/0.008142, allocations: 26.39 kB / 0.783 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008142, allocations: 0 / 0.783 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001974/0.00834, allocations: 53.12 kB / 0.783 GB, free: 14.11 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: 41 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.state[1],lig.state[2],lig.state[3],lig.state[4],lig.state[5],lig.state[6],lig.state[7],lig.state[8],lig.state[9],lig.state[10],lig.state[11],lig.state[12],lig.state[13],lig.state[14],lig.state[15],lig.state[16],lig.state[17],lig.state[18],lig.state[19],lig.state[20],lig.state[21],lig.state[22],lig.state[23],lig.state[24],lig.state[25],lig.state[26],lig.state[27],lig.state[28],lig.state[29],lig.state[30],lig.state[31],lig.state[32],lig.state[33],lig.ran,occ.pulseStart) * Number of discrete states: 34 (lig.state[1],lig.state[2],lig.state[3],lig.state[4],lig.state[5],lig.state[6],lig.state[7],lig.state[8],lig.state[9],lig.state[10],lig.state[11],lig.state[12],lig.state[13],lig.state[14],lig.state[15],lig.state[16],lig.state[17],lig.state[18],lig.state[19],lig.state[20],lig.state[21],lig.state[22],lig.state[23],lig.state[24],lig.state[25],lig.state[26],lig.state[27],lig.state[28],lig.state[29],lig.state[30],lig.state[31],lig.state[32],lig.state[33],lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002938/0.008634, allocations: 223.5 kB / 0.7832 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.00881, allocations: 168.3 kB / 0.7834 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.008815, allocations: 3 kB / 0.7834 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.008868, allocations: 64.75 kB / 0.7834 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.009022, allocations: 28.33 kB / 0.7835 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.009503, allocations: 378 kB / 0.7838 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.429e-05/0.009588, allocations: 116.1 kB / 0.7839 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.009667, allocations: 75.36 kB / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.009668, allocations: 1.812 kB / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.002943/0.01261, allocations: 2.854 MB / 0.7868 GB, free: 10.29 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.732940593734384]