Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001868/0.001868, 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.001952/0.001952, allocations: 217.7 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.668/1.668, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.445/3.445, allocations: 0.5045 GB / 0.8104 GB, free: 2.746 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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003642/0.003642, allocations: 68.12 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.04, allocations: 180 MB / 1.353 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003219/1.043, allocations: 1.559 MB / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001721/1.045, allocations: 0.744 MB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/1.045, allocations: 4 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/1.045, allocations: 15.81 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/1.045, allocations: 15.8 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/1.046, allocations: 151.5 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/1.046, allocations: 103.6 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/1.046, allocations: 13.59 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/1.046, allocations: 47.89 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/1.047, allocations: 47.75 kB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/1.047, allocations: 8 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/1.047, allocations: 139.8 kB / 1.356 GB, free: 14.75 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/1.047, allocations: 39.84 kB / 1.356 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/1.047, allocations: 51.59 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/1.047, allocations: 217.9 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.047, allocations: 0 / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.373e-06/1.047, allocations: 0 / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.047, allocations: 0 / 1.356 GB, free: 14.45 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.0009567/1.048, allocations: 0.501 MB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.048, allocations: 8.922 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/1.049, allocations: 48.77 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/1.049, allocations: 156.8 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.049, allocations: 4.375 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/1.049, allocations: 7.938 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/1.049, allocations: 209.6 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.049, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.049, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.049, allocations: 3.938 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/1.05, allocations: 131.8 kB / 1.357 GB, free: 13.31 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/1.051, allocations: 296.2 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/1.051, allocations: 146.2 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/1.051, allocations: 108.9 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/1.051, allocations: 0 / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/1.051, allocations: 231.3 kB / 1.358 GB, free: 12.49 MB / 1.042 GB Notification: Performance of pre-optimization done (n=44): time 1.282e-06/1.051, allocations: 0 / 1.358 GB, free: 12.49 MB / 1.042 GB Notification: Performance of matching and sorting (n=44): time 0.0009448/1.052, allocations: 0.5688 MB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/1.052, allocations: 95.3 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/1.053, allocations: 170.3 kB / 1.359 GB, free: 11.63 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/1.053, allocations: 49.69 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/1.053, allocations: 105.1 kB / 1.359 GB, free: 11.47 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.053, allocations: 111.2 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/1.053, allocations: 106.1 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.053, allocations: 338.8 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/1.054, allocations: 185 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/1.054, allocations: 264.7 kB / 1.36 GB, free: 10.44 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/1.055, allocations: 0.4989 MB / 1.36 GB, free: 9.922 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.055, allocations: 0 / 1.36 GB, free: 9.922 MB / 1.042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008855/1.056, allocations: 0.5453 MB / 1.361 GB, free: 9.371 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.056, allocations: 4 kB / 1.361 GB, free: 9.367 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.056, allocations: 4 kB / 1.361 GB, free: 9.363 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.056, allocations: 4 kB / 1.361 GB, free: 9.359 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/1.056, allocations: 27.92 kB / 1.361 GB, free: 9.332 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.056, allocations: 4 kB / 1.361 GB, free: 9.328 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/1.056, allocations: 51.55 kB / 1.361 GB, free: 9.277 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/1.056, allocations: 16 kB / 1.361 GB, free: 9.262 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.0002642/1.056, allocations: 207.1 kB / 1.361 GB, free: 9.051 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/1.056, allocations: 19.86 kB / 1.361 GB, free: 9.031 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007775/1.057, allocations: 448.8 kB / 1.361 GB, free: 8.586 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.057, allocations: 4 kB / 1.361 GB, free: 8.582 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.057, allocations: 0 / 1.361 GB, free: 8.582 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/1.057, allocations: 7.922 kB / 1.361 GB, free: 8.574 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/1.058, allocations: 0.6698 MB / 1.362 GB, free: 7.863 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.058, allocations: 0 / 1.362 GB, free: 7.863 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/1.058, allocations: 11.98 kB / 1.362 GB, free: 7.852 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.058, allocations: 7.938 kB / 1.362 GB, free: 7.844 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.058, allocations: 11.92 kB / 1.362 GB, free: 7.832 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.058, allocations: 4 kB / 1.362 GB, free: 7.828 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.058, allocations: 0 / 1.362 GB, free: 7.828 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/1.059, allocations: 0.5234 MB / 1.363 GB, free: 7.289 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/1.059, allocations: 23.8 kB / 1.363 GB, free: 7.266 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/1.059, allocations: 31.92 kB / 1.363 GB, free: 7.234 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/1.059, allocations: 15.98 kB / 1.363 GB, free: 7.219 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/1.059, allocations: 11.97 kB / 1.363 GB, free: 7.207 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.059, allocations: 8 kB / 1.363 GB, free: 7.199 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001034/1.06, allocations: 109.3 kB / 1.363 GB, free: 7.094 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/1.06, allocations: 4 kB / 1.363 GB, free: 7.09 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003989/1.06, allocations: 59.92 kB / 1.363 GB, free: 7.031 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 (14): * Single equations (assignments): 11 * 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.0006121/1.061, allocations: 230.1 kB / 1.363 GB, free: 6.816 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006737/1.061, allocations: 363.9 kB / 1.363 GB, free: 6.461 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.061, allocations: 0 / 1.363 GB, free: 6.461 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.061, allocations: 128.6 kB / 1.364 GB, free: 6.336 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/1.062, allocations: 20.16 kB / 1.364 GB, free: 6.316 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.063, allocations: 443.3 kB / 1.364 GB, free: 5.859 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/1.063, allocations: 128.9 kB / 1.364 GB, free: 5.711 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.061e-05/1.063, allocations: 25.47 kB / 1.364 GB, free: 5.688 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/1.063, allocations: 27.38 kB / 1.364 GB, free: 5.66 MB / 1.042 GB Notification: Performance of SimCode: time 6.11e-07/1.063, allocations: 0 / 1.364 GB, free: 5.66 MB / 1.042 GB Notification: Performance of Templates: time 0.007985/1.071, allocations: 2.858 MB / 1.367 GB, free: 2.859 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.569145335815847]