Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.757/1.757, allocations: 251.9 MB / 0.51 GB, free: 4.891 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006733/0.000674, allocations: 12 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6583, allocations: 106.3 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001991/0.6603, allocations: 1.211 MB / 0.7292 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.6619, allocations: 0.7529 MB / 0.7299 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.662, allocations: 3.938 kB / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.662, allocations: 0 / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.6621, allocations: 23.89 kB / 0.7299 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.6628, allocations: 95.75 kB / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.6629, allocations: 59.86 kB / 0.7301 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.663, allocations: 8 kB / 0.7301 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.6632, allocations: 47.83 kB / 0.7301 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.6633, allocations: 35.88 kB / 0.7302 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.6633, allocations: 4 kB / 0.7302 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.6635, allocations: 75.81 kB / 0.7302 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.6635, allocations: 23.91 kB / 0.7303 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.6636, allocations: 37.7 kB / 0.7303 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.6638, allocations: 105.9 kB / 0.7304 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6638, allocations: 0 / 0.7304 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6638, allocations: 0 / 0.7304 GB, free: 9.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.6639, allocations: 0 / 0.7304 GB, free: 9.09 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009055/0.6648, allocations: 492.1 kB / 0.7309 GB, free: 8.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6648, allocations: 11.97 kB / 0.7309 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.6649, allocations: 7.906 kB / 0.7309 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.6651, allocations: 182.9 kB / 0.7311 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.6651, allocations: 4 kB / 0.7311 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.6651, allocations: 4 kB / 0.7311 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.6654, allocations: 81.64 kB / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.6654, allocations: 3.938 kB / 0.7311 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.6654, allocations: 0 / 0.7311 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.6654, allocations: 8 kB / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.6656, allocations: 55.89 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.6662, allocations: 336.6 kB / 0.7315 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.6665, allocations: 90.69 kB / 0.7316 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.6665, allocations: 4 kB / 0.7316 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.6668, allocations: 99.34 kB / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.6668, allocations: 0 / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004686/0.6673, allocations: 185.5 kB / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.6673, allocations: 59.3 kB / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.6675, allocations: 137.5 kB / 0.7321 GB, free: 7.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.6675, allocations: 33.7 kB / 0.7321 GB, free: 7.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.6676, allocations: 92.14 kB / 0.7322 GB, free: 7.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.6676, allocations: 27.64 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.6677, allocations: 8 kB / 0.7322 GB, free: 6.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6678, allocations: 318.8 kB / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.6679, allocations: 31.98 kB / 0.7326 GB, free: 6.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.668, allocations: 69.12 kB / 0.7326 GB, free: 6.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.884e-05/0.6681, allocations: 39.98 kB / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6681, allocations: 0 / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002454/0.6684, allocations: 141.4 kB / 0.7328 GB, free: 6.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6684, allocations: 4 kB / 0.7328 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6684, allocations: 4.094 kB / 0.7328 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6684, allocations: 4 kB / 0.7328 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.6686, allocations: 19.92 kB / 0.7328 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6686, allocations: 7.953 kB / 0.7328 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.6687, allocations: 19.89 kB / 0.7329 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.6687, allocations: 4 kB / 0.7329 GB, free: 6.305 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.6688, allocations: 133.7 kB / 0.733 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.6689, allocations: 15.83 kB / 0.733 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.6692, allocations: 154.3 kB / 0.7332 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6692, allocations: 4 kB / 0.7332 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6692, allocations: 0 / 0.7332 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6693, allocations: 3.953 kB / 0.7332 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.6699, allocations: 465.1 kB / 0.7336 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.67, allocations: 0 / 0.7336 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.67, allocations: 8 kB / 0.7336 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.67, allocations: 7.938 kB / 0.7336 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.6701, allocations: 7.938 kB / 0.7336 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6701, allocations: 4 kB / 0.7336 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6701, allocations: 4 kB / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.6704, allocations: 247.3 kB / 0.7339 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.6705, allocations: 85.02 kB / 0.734 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.6705, allocations: 4 kB / 0.734 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6706, allocations: 15.94 kB / 0.734 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.6707, allocations: 15.98 kB / 0.734 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.6707, allocations: 4 kB / 0.734 GB, free: 5.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.274e-05/0.6708, allocations: 99.25 kB / 0.7341 GB, free: 4.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6708, allocations: 0 / 0.7341 GB, free: 4.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003216/0.6711, allocations: 51.94 kB / 0.7341 GB, free: 4.898 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.6715, allocations: 164 kB / 0.7343 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.6717, allocations: 97.08 kB / 0.7344 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6718, allocations: 0 / 0.7344 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.6719, allocations: 55.97 kB / 0.7344 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.6721, allocations: 24.11 kB / 0.7345 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.6727, allocations: 243.3 kB / 0.7347 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.673, allocations: 0.7043 MB / 0.7354 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.879e-05/0.6731, allocations: 8.422 kB / 0.7354 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.6731, allocations: 19.44 kB / 0.7354 GB, free: 3.547 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6731, allocations: 0 / 0.7354 GB, free: 3.547 MB / 0.545 GB Notification: Performance of Templates: time 0.004988/0.6781, allocations: 1.763 MB / 0.7371 GB, free: 1.793 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) Environment - environmentSimulation: