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.001125/0.001125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001374/0.001375, allocations: 194 kB / 16.25 MB, free: 6.625 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.437/1.437, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.519/1.519, allocations: 251.6 MB / 0.5089 GB, free: 3.293 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.001374/0.001374, allocations: 63.91 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5626, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002988/0.5656, allocations: 1.585 MB / 0.7255 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.5671, allocations: 0.8068 MB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.5671, allocations: 0 / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.5672, allocations: 3.938 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.812e-05/0.5673, allocations: 15.86 kB / 0.7263 GB, free: 10.67 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.5678, allocations: 109.6 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.568, allocations: 91.75 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.5681, allocations: 12 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.5682, allocations: 39.84 kB / 0.7266 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.5683, allocations: 39.83 kB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.5683, allocations: 8 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.5685, allocations: 103.8 kB / 0.7267 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.5685, allocations: 15.92 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.5686, allocations: 39.8 kB / 0.7268 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.5688, allocations: 153.6 kB / 0.7269 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5688, allocations: 4 kB / 0.7269 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5689, allocations: 0 / 0.7269 GB, free: 10.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.5689, allocations: 0 / 0.7269 GB, free: 10.07 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.000812/0.5697, allocations: 470.5 kB / 0.7274 GB, free: 9.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5697, allocations: 12.03 kB / 0.7274 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.5698, allocations: 8.844 kB / 0.7274 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.5699, allocations: 188 kB / 0.7276 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/0.57, allocations: 42.27 kB / 0.7276 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5701, allocations: 4.375 kB / 0.7276 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.5703, allocations: 77.77 kB / 0.7277 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5703, allocations: 0 / 0.7277 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5703, allocations: 0 / 0.7277 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5703, allocations: 0 / 0.7277 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.5705, allocations: 55.89 kB / 0.7277 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.5711, allocations: 320.7 kB / 0.728 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.5713, allocations: 74.48 kB / 0.7281 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.5714, allocations: 44.86 kB / 0.7282 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.5715, allocations: 4 kB / 0.7282 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.5718, allocations: 95.3 kB / 0.7283 GB, free: 8.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.5718, allocations: 0 / 0.7283 GB, free: 8.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004845/0.5723, allocations: 169.5 kB / 0.7284 GB, free: 8.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.5723, allocations: 55.41 kB / 0.7285 GB, free: 8.281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.5725, allocations: 134 kB / 0.7286 GB, free: 8.141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5725, allocations: 33.7 kB / 0.7286 GB, free: 8.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.5726, allocations: 96.5 kB / 0.7287 GB, free: 8.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.5726, allocations: 15.72 kB / 0.7287 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.5726, allocations: 33.7 kB / 0.7288 GB, free: 7.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5728, allocations: 326.8 kB / 0.7291 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.5729, allocations: 31.98 kB / 0.7291 GB, free: 7.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.573, allocations: 73.06 kB / 0.7292 GB, free: 7.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.5732, allocations: 109 kB / 0.7293 GB, free: 7.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5733, allocations: 0 / 0.7293 GB, free: 7.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002819/0.5735, allocations: 129.4 kB / 0.7294 GB, free: 7.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5736, allocations: 8 kB / 0.7294 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5736, allocations: 128 / 0.7294 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5736, allocations: 8.094 kB / 0.7294 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5737, allocations: 19.91 kB / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5737, allocations: 4 kB / 0.7294 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.5738, allocations: 19.92 kB / 0.7295 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.5739, allocations: 7.984 kB / 0.7295 GB, free: 7.168 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.495e-05/0.574, allocations: 124.7 kB / 0.7296 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.574, allocations: 7.906 kB / 0.7296 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.574, allocations: 16.72 kB / 0.7296 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5741, allocations: 0 / 0.7296 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5741, allocations: 4 kB / 0.7296 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5741, allocations: 0 / 0.7296 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.5747, allocations: 438.5 kB / 0.73 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5747, allocations: 0 / 0.73 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.5748, allocations: 15.98 kB / 0.7301 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5748, allocations: 0 / 0.7301 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.5748, allocations: 0 / 0.7301 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.5748, allocations: 11.88 kB / 0.7301 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5749, allocations: 0 / 0.7301 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.5752, allocations: 227.3 kB / 0.7303 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.5752, allocations: 88.95 kB / 0.7304 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.5753, allocations: 4 kB / 0.7304 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.5754, allocations: 15.92 kB / 0.7304 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.5754, allocations: 7.984 kB / 0.7304 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5755, allocations: 7.984 kB / 0.7304 GB, free: 6.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.5755, allocations: 102.2 kB / 0.7305 GB, free: 6.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5755, allocations: 0 / 0.7305 GB, free: 6.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003036/0.5759, allocations: 40 kB / 0.7305 GB, free: 5.984 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 (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.0004213/0.5763, allocations: 170.1 kB / 0.7307 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.5766, allocations: 83.89 kB / 0.7308 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5766, allocations: 0 / 0.7308 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.5767, allocations: 56.16 kB / 0.7308 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.577, allocations: 15.98 kB / 0.7308 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.5776, allocations: 237.3 kB / 0.7311 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.5779, allocations: 0.6962 MB / 0.7318 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.904e-05/0.5779, allocations: 8.844 kB / 0.7318 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.578, allocations: 23.42 kB / 0.7318 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.578, allocations: 4 kB / 0.7318 GB, free: 4.656 MB / 0.545 GB Notification: Performance of Templates: time 0.004467/0.5825, allocations: 1.714 MB / 0.7335 GB, free: 2.949 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (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)