Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009027, allocations: 90.75 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.0008992/0.0008993, 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.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.605/1.605, allocations: 252 MB / 0.5102 GB, free: 4.723 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.0005871/0.0005876, allocations: 12 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5696, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001727/0.5714, allocations: 1.223 MB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.5727, allocations: 0.7606 MB / 0.7301 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.5727, allocations: 0 / 0.7301 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.5728, allocations: 3.938 kB / 0.7301 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.5729, allocations: 11.86 kB / 0.7301 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.5734, allocations: 107.8 kB / 0.7302 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.5735, allocations: 83.7 kB / 0.7303 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.5736, allocations: 4 kB / 0.7303 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.5737, allocations: 27.92 kB / 0.7303 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.5738, allocations: 43.81 kB / 0.7303 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.5738, allocations: 4 kB / 0.7303 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.574, allocations: 87.84 kB / 0.7304 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.574, allocations: 19.92 kB / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.5741, allocations: 37.7 kB / 0.7305 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.5743, allocations: 105.8 kB / 0.7306 GB, free: 8.879 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5743, allocations: 0 / 0.7306 GB, free: 8.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5743, allocations: 0 / 0.7306 GB, free: 8.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.5743, allocations: 0 / 0.7306 GB, free: 8.879 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.0009005/0.5752, allocations: 466.3 kB / 0.731 GB, free: 8.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5753, allocations: 8.031 kB / 0.731 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.5753, allocations: 11.91 kB / 0.731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.5756, allocations: 178.9 kB / 0.7312 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.53e-05/0.5757, allocations: 33.7 kB / 0.7312 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5757, allocations: 4 kB / 0.7312 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.5759, allocations: 77.64 kB / 0.7313 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.576, allocations: 4 kB / 0.7313 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.576, allocations: 0 / 0.7313 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.576, allocations: 7.984 kB / 0.7313 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.5762, allocations: 51.91 kB / 0.7314 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.5769, allocations: 332.6 kB / 0.7317 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.5772, allocations: 70.53 kB / 0.7318 GB, free: 7.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.5773, allocations: 44.92 kB / 0.7318 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.5773, allocations: 7.938 kB / 0.7318 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.5777, allocations: 95.3 kB / 0.7319 GB, free: 7.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.5777, allocations: 0 / 0.7319 GB, free: 7.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005413/0.5782, allocations: 181.4 kB / 0.7321 GB, free: 7.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.5783, allocations: 51.41 kB / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.5784, allocations: 134 kB / 0.7323 GB, free: 6.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.5785, allocations: 33.7 kB / 0.7323 GB, free: 6.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.5786, allocations: 92.36 kB / 0.7324 GB, free: 6.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.5786, allocations: 19.72 kB / 0.7324 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.5786, allocations: 4 kB / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5788, allocations: 318.8 kB / 0.7327 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.5789, allocations: 39.98 kB / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.5791, allocations: 73.06 kB / 0.7328 GB, free: 6.336 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.5792, allocations: 47.95 kB / 0.7329 GB, free: 6.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5792, allocations: 0 / 0.7329 GB, free: 6.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003131/0.5795, allocations: 133.4 kB / 0.733 GB, free: 6.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5795, allocations: 8.125 kB / 0.733 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5796, allocations: 4 kB / 0.733 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.5796, allocations: 3.953 kB / 0.733 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5797, allocations: 27.86 kB / 0.733 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5797, allocations: 0 / 0.733 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.5799, allocations: 23.92 kB / 0.733 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5799, allocations: 4 kB / 0.733 GB, free: 6.082 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 0.0001522/0.58, allocations: 121.8 kB / 0.7332 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.5801, allocations: 7.906 kB / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.5801, allocations: 16.72 kB / 0.7332 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5801, allocations: 0 / 0.7332 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5801, allocations: 3.953 kB / 0.7332 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5802, allocations: 0 / 0.7332 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.5808, allocations: 450.7 kB / 0.7336 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5808, allocations: 0 / 0.7336 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.5809, allocations: 11.98 kB / 0.7336 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5809, allocations: 3.953 kB / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5809, allocations: 0 / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5809, allocations: 0 / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5809, allocations: 0 / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.5812, allocations: 235.3 kB / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.5813, allocations: 88.95 kB / 0.7339 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.5813, allocations: 3.953 kB / 0.7339 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5814, allocations: 19.98 kB / 0.734 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.5815, allocations: 11.98 kB / 0.734 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.5815, allocations: 3.984 kB / 0.734 GB, free: 5.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.5816, allocations: 106.2 kB / 0.7341 GB, free: 4.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5816, allocations: 0 / 0.7341 GB, free: 4.922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003101/0.5819, allocations: 36 kB / 0.7341 GB, free: 4.887 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 (10): * Single equations (assignments): 7 * 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.0003519/0.5823, allocations: 176.7 kB / 0.7343 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.5826, allocations: 87.89 kB / 0.7344 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5826, allocations: 3.938 kB / 0.7344 GB, free: 4.629 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.5827, allocations: 56.16 kB / 0.7344 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.5831, allocations: 18.61 kB / 0.7344 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.5837, allocations: 227 kB / 0.7347 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.5841, allocations: 0.6965 MB / 0.7353 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.631e-05/0.5841, allocations: 4.672 kB / 0.7353 GB, free: 3.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.5842, allocations: 15.44 kB / 0.7354 GB, free: 3.566 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5842, allocations: 4 kB / 0.7354 GB, free: 3.562 MB / 0.545 GB Notification: Performance of Templates: time 0.004573/0.5888, allocations: 1.615 MB / 0.7369 GB, free: 1.953 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) Environment - environmentSimulation: