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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001097/0.001098, allocations: 190.4 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222 MB, free: 4.75 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.545/1.545, allocations: 251.7 MB / 0.5088 GB, free: 3.301 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.001731/0.001731, allocations: 63.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4774, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002589/0.4801, allocations: 1.58 MB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.4815, allocations: 0.8147 MB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.4816, allocations: 3.938 kB / 0.7261 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.4816, allocations: 3.938 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.4817, allocations: 19.84 kB / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.4822, allocations: 103.8 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.4823, allocations: 87.77 kB / 0.7264 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.4824, allocations: 12 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.4825, allocations: 51.77 kB / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.4826, allocations: 39.83 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4826, allocations: 4 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.4828, allocations: 91.84 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.4828, allocations: 23.91 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.4829, allocations: 39.78 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.4831, allocations: 153.6 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4831, allocations: 0 / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.21e-07/0.4831, allocations: 0 / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.4831, allocations: 0 / 0.7268 GB, free: 10.12 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.000745/0.4839, allocations: 496.2 kB / 0.7272 GB, free: 9.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4839, allocations: 12.03 kB / 0.7272 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.484, allocations: 8.844 kB / 0.7272 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4842, allocations: 188.1 kB / 0.7274 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4842, allocations: 12.31 kB / 0.7274 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4842, allocations: 4.375 kB / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4844, allocations: 85.95 kB / 0.7275 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4845, allocations: 0 / 0.7275 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4845, allocations: 3.938 kB / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4845, allocations: 0 / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.4847, allocations: 51.97 kB / 0.7276 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.4852, allocations: 336.6 kB / 0.7279 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.4855, allocations: 78.67 kB / 0.728 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.4856, allocations: 36.84 kB / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4856, allocations: 8 kB / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.4859, allocations: 103.3 kB / 0.7281 GB, free: 8.547 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4859, allocations: 4 kB / 0.7281 GB, free: 8.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004104/0.4863, allocations: 173.8 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4864, allocations: 59.39 kB / 0.7283 GB, free: 8.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4865, allocations: 130.1 kB / 0.7285 GB, free: 8.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4865, allocations: 29.7 kB / 0.7285 GB, free: 8.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.4866, allocations: 96.14 kB / 0.7286 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4866, allocations: 27.64 kB / 0.7286 GB, free: 8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.4867, allocations: 33.7 kB / 0.7286 GB, free: 7.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4868, allocations: 322.8 kB / 0.7289 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.4869, allocations: 31.92 kB / 0.729 GB, free: 7.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.487, allocations: 77.12 kB / 0.7291 GB, free: 7.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.4872, allocations: 101.1 kB / 0.7291 GB, free: 7.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4872, allocations: 4 kB / 0.7292 GB, free: 7.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002421/0.4874, allocations: 141.4 kB / 0.7293 GB, free: 7.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4874, allocations: 4 kB / 0.7293 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4875, allocations: 7.984 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4875, allocations: 0 / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4876, allocations: 19.92 kB / 0.7293 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.4876, allocations: 4 kB / 0.7293 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4877, allocations: 15.98 kB / 0.7293 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4877, allocations: 4 kB / 0.7293 GB, free: 7.191 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 (lig.curSeed,$PRE.lig.curSeed,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 (15): * Single equations (assignments): 15 * 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.0001009/0.4878, allocations: 129.8 kB / 0.7295 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.4879, allocations: 7.906 kB / 0.7295 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.4882, allocations: 166.3 kB / 0.7296 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4882, allocations: 0 / 0.7296 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4882, allocations: 3.938 kB / 0.7296 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4883, allocations: 0 / 0.7296 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.4889, allocations: 458.2 kB / 0.7301 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4889, allocations: 0 / 0.7301 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.4889, allocations: 8 kB / 0.7301 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.489, allocations: 4 kB / 0.7301 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.489, allocations: 7.984 kB / 0.7301 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.489, allocations: 0 / 0.7301 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.489, allocations: 7.875 kB / 0.7301 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.4893, allocations: 247.3 kB / 0.7303 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.4894, allocations: 85.02 kB / 0.7304 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.4894, allocations: 4 kB / 0.7304 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4895, allocations: 7.984 kB / 0.7304 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4896, allocations: 11.92 kB / 0.7304 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4896, allocations: 11.98 kB / 0.7304 GB, free: 5.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.027e-05/0.4897, allocations: 106.3 kB / 0.7306 GB, free: 5.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4897, allocations: 0 / 0.7306 GB, free: 5.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003197/0.49, allocations: 44 kB / 0.7306 GB, free: 5.805 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 (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.0003373/0.4903, allocations: 157.5 kB / 0.7307 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.4906, allocations: 92.39 kB / 0.7308 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4906, allocations: 3.938 kB / 0.7308 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.4908, allocations: 62.16 kB / 0.7309 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4911, allocations: 11.98 kB / 0.7309 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.4915, allocations: 253.6 kB / 0.7311 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.4917, allocations: 0.6965 MB / 0.7318 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.898e-05/0.4918, allocations: 8.438 kB / 0.7318 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.4918, allocations: 23.36 kB / 0.7319 GB, free: 4.465 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4918, allocations: 0 / 0.7319 GB, free: 4.465 MB / 0.545 GB Notification: Performance of Templates: time 0.004457/0.4963, allocations: 1.815 MB / 0.7336 GB, free: 2.656 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (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)