Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.0009628, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001295/0.001295, allocations: 172.7 kB / 15.95 MB, free: 208 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.631/1.631, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.61/1.61, allocations: 252 MB / 0.5102 GB, free: 4.773 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.0005056/0.0005057, allocations: 16 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5528, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002255/0.5551, allocations: 1.215 MB / 0.7293 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.5565, allocations: 0.7489 MB / 0.73 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.5566, allocations: 4 kB / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.5566, allocations: 3.984 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.5567, allocations: 15.86 kB / 0.7301 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.5572, allocations: 99.77 kB / 0.7302 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.5573, allocations: 75.7 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.5574, allocations: 4 kB / 0.7302 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.5575, allocations: 35.89 kB / 0.7303 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.5576, allocations: 35.84 kB / 0.7303 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.5576, allocations: 8 kB / 0.7303 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.5578, allocations: 87.84 kB / 0.7304 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.5578, allocations: 11.98 kB / 0.7304 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.5579, allocations: 37.64 kB / 0.7304 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.5581, allocations: 101.8 kB / 0.7305 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5581, allocations: 0 / 0.7305 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5581, allocations: 0 / 0.7305 GB, free: 8.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.5581, allocations: 0 / 0.7305 GB, free: 8.945 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007965/0.5589, allocations: 462.3 kB / 0.731 GB, free: 8.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.559, allocations: 12.03 kB / 0.731 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.559, allocations: 7.906 kB / 0.731 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.5592, allocations: 175 kB / 0.7312 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.5592, allocations: 3.938 kB / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.5593, allocations: 8 kB / 0.7312 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.5594, allocations: 73.59 kB / 0.7312 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5595, allocations: 4 kB / 0.7313 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.5595, allocations: 7.984 kB / 0.7313 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5595, allocations: 0 / 0.7313 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.5596, allocations: 43.97 kB / 0.7313 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.5602, allocations: 332.6 kB / 0.7316 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.5604, allocations: 66.53 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/0.5605, allocations: 36.84 kB / 0.7317 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.5605, allocations: 0 / 0.7317 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.5607, allocations: 99.39 kB / 0.7318 GB, free: 7.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5607, allocations: 0 / 0.7318 GB, free: 7.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003742/0.5611, allocations: 165.4 kB / 0.732 GB, free: 7.293 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.5612, allocations: 55.41 kB / 0.732 GB, free: 7.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.5613, allocations: 126.6 kB / 0.7321 GB, free: 7.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.5613, allocations: 33.7 kB / 0.7322 GB, free: 7.055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.5614, allocations: 88.38 kB / 0.7323 GB, free: 6.965 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.5614, allocations: 31.78 kB / 0.7323 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.5614, allocations: 0 / 0.7323 GB, free: 6.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5615, allocations: 318.8 kB / 0.7326 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.5616, allocations: 31.97 kB / 0.7326 GB, free: 6.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.5617, allocations: 71.02 kB / 0.7327 GB, free: 6.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.331e-05/0.5618, allocations: 39.92 kB / 0.7327 GB, free: 6.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5618, allocations: 0 / 0.7327 GB, free: 6.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002268/0.562, allocations: 133.5 kB / 0.7329 GB, free: 6.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5621, allocations: 11.94 kB / 0.7329 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5621, allocations: 0 / 0.7329 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5621, allocations: 11.92 kB / 0.7329 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.5622, allocations: 15.98 kB / 0.7329 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5622, allocations: 3.953 kB / 0.7329 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.5623, allocations: 28.02 kB / 0.7329 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.5624, allocations: 4 kB / 0.7329 GB, free: 6.246 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.992e-05/0.5625, allocations: 125.7 kB / 0.733 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.5625, allocations: 7.906 kB / 0.7331 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.5628, allocations: 146 kB / 0.7332 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5628, allocations: 4 kB / 0.7332 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5628, allocations: 4 kB / 0.7332 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.5628, allocations: 3.953 kB / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.5633, allocations: 426.3 kB / 0.7336 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5634, allocations: 4 kB / 0.7336 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.5634, allocations: 19.94 kB / 0.7336 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5635, allocations: 3.984 kB / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.5635, allocations: 7.953 kB / 0.7336 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5635, allocations: 4 kB / 0.7337 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5635, allocations: 0 / 0.7337 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.5638, allocations: 231.5 kB / 0.7339 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.5638, allocations: 85.02 kB / 0.734 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.5638, allocations: 4 kB / 0.734 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.564, allocations: 19.94 kB / 0.734 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.564, allocations: 7.984 kB / 0.734 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.564, allocations: 4 kB / 0.734 GB, free: 5.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.5641, allocations: 97.77 kB / 0.7341 GB, free: 4.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5641, allocations: 4 kB / 0.7341 GB, free: 4.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003071/0.5644, allocations: 39.98 kB / 0.7341 GB, free: 4.918 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0003365/0.5648, allocations: 164.9 kB / 0.7343 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.565, allocations: 92.17 kB / 0.7344 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.565, allocations: 4 kB / 0.7344 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5651, allocations: 47.97 kB / 0.7344 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.5654, allocations: 19.98 kB / 0.7344 GB, free: 4.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.5659, allocations: 226.5 kB / 0.7347 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.5661, allocations: 0.6966 MB / 0.7353 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.5662, allocations: 12.41 kB / 0.7353 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.5662, allocations: 11.44 kB / 0.7354 GB, free: 3.609 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5662, allocations: 4 kB / 0.7354 GB, free: 3.605 MB / 0.545 GB Notification: Performance of Templates: time 0.004372/0.5706, allocations: 1.629 MB / 0.737 GB, free: 1.984 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) Environment - environmentSimulation: