Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.005326/0.005326, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002822/0.002822, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 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.646/1.646, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 3.485/3.485, allocations: 0.5045 GB / 0.8104 GB, free: 2.82 MB / 0.6511 GB " [Timeout remaining time 176] 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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003965/0.003965, allocations: 75.88 kB / 1.177 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9135/0.9175, allocations: 180 MB / 1.353 GB, free: 1.672 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00324/0.9207, allocations: 1.548 MB / 1.354 GB, free: 120 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.9224, allocations: 0.7168 MB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.9224, allocations: 0 / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.9226, allocations: 11.88 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.9226, allocations: 19.78 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.9232, allocations: 139.6 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.9234, allocations: 111.6 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.9235, allocations: 8 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.9237, allocations: 47.91 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.9238, allocations: 51.75 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.9238, allocations: 8 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.9242, allocations: 119.8 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.9243, allocations: 43.89 kB / 1.356 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.9243, allocations: 51.61 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.9247, allocations: 210 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9247, allocations: 7.938 kB / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9247, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.9247, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009279/0.9256, allocations: 499.4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9257, allocations: 8.922 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.926, allocations: 44.72 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.9263, allocations: 154.2 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.9263, allocations: 12.38 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.9263, allocations: 4.375 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.9267, allocations: 217.8 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.9267, allocations: 0 / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.9267, allocations: 4 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.9267, allocations: 0 / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.927, allocations: 123.8 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.9276, allocations: 288.3 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.9279, allocations: 150.2 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.9281, allocations: 105 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.9281, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003535/0.9284, allocations: 239.2 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of pre-optimization done (n=44): time 1.132e-06/0.9284, allocations: 0 / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of matching and sorting (n=44): time 0.0009184/0.9293, allocations: 0.5611 MB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.9294, allocations: 91.3 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.9296, allocations: 164 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.9297, allocations: 61.69 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.9297, allocations: 97.12 kB / 1.359 GB, free: 11.64 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9299, allocations: 111.2 kB / 1.359 GB, free: 11.53 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.93, allocations: 98.11 kB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.9302, allocations: 350.7 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.9305, allocations: 181 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.9309, allocations: 264.7 kB / 1.36 GB, free: 10.61 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/0.9316, allocations: 0.5067 MB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9316, allocations: 0 / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008539/0.9325, allocations: 0.5413 MB / 1.361 GB, free: 9.535 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.9325, allocations: 11.98 kB / 1.361 GB, free: 9.523 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.9325, allocations: 0 / 1.361 GB, free: 9.523 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9325, allocations: 4.156 kB / 1.361 GB, free: 9.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.9327, allocations: 27.92 kB / 1.361 GB, free: 9.492 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.9327, allocations: 4 kB / 1.361 GB, free: 9.488 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.9328, allocations: 43.72 kB / 1.361 GB, free: 9.445 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.9329, allocations: 19.94 kB / 1.361 GB, free: 9.426 MB / 1.042 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0002381/0.9331, allocations: 214.9 kB / 1.361 GB, free: 9.207 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.9331, allocations: 15.86 kB / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/0.9339, allocations: 436.1 kB / 1.361 GB, free: 8.754 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.9339, allocations: 11.98 kB / 1.361 GB, free: 8.742 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9339, allocations: 0 / 1.361 GB, free: 8.742 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9339, allocations: 0 / 1.361 GB, free: 8.742 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.9349, allocations: 0.6575 MB / 1.362 GB, free: 8.047 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.9349, allocations: 0 / 1.362 GB, free: 8.047 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/0.935, allocations: 15.98 kB / 1.362 GB, free: 8.031 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.935, allocations: 0 / 1.362 GB, free: 8.031 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.935, allocations: 4 kB / 1.362 GB, free: 8.027 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.935, allocations: 0 / 1.362 GB, free: 8.027 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.935, allocations: 4 kB / 1.362 GB, free: 8.023 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.9358, allocations: 0.5068 MB / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.9359, allocations: 31.73 kB / 1.363 GB, free: 7.469 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.9359, allocations: 31.98 kB / 1.363 GB, free: 7.438 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.9361, allocations: 11.98 kB / 1.363 GB, free: 7.426 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.9361, allocations: 15.91 kB / 1.363 GB, free: 7.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.9362, allocations: 8 kB / 1.363 GB, free: 7.402 MB / 1.042 GB Notification: Performance of sorting global known variables: time 8.847e-05/0.9363, allocations: 105.5 kB / 1.363 GB, free: 7.301 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.9363, allocations: 0 / 1.363 GB, free: 7.301 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000365/0.9366, allocations: 59.92 kB / 1.363 GB, free: 7.242 MB / 1.042 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 (booleanPulse.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,booleanPulse.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 (13): * Single equations (assignments): 10 * 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.000591/0.9372, allocations: 235.7 kB / 1.363 GB, free: 7.02 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.9379, allocations: 372.4 kB / 1.363 GB, free: 6.656 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9379, allocations: 0 / 1.363 GB, free: 6.656 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.938, allocations: 116 kB / 1.363 GB, free: 6.543 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.9384, allocations: 19.97 kB / 1.363 GB, free: 6.523 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.9392, allocations: 422.4 kB / 1.364 GB, free: 6.086 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.9393, allocations: 128.6 kB / 1.364 GB, free: 5.938 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.793e-05/0.9394, allocations: 29.47 kB / 1.364 GB, free: 5.91 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.9395, allocations: 15.44 kB / 1.364 GB, free: 5.895 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/0.9395, allocations: 0 / 1.364 GB, free: 5.895 MB / 1.042 GB Notification: Performance of Templates: time 0.007681/0.9472, allocations: 2.795 MB / 1.367 GB, free: 3.16 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.543250654824078]