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.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001239/0.00124, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.448/1.448, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.515/1.515, allocations: 251.7 MB / 0.5089 GB, free: 3.258 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.001359/0.001359, allocations: 59.91 kB / 0.6217 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5595, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002564/0.5622, allocations: 1.569 MB / 0.7255 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.5633, allocations: 0.8029 MB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.5634, allocations: 0 / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.5634, allocations: 3.984 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.5635, allocations: 19.88 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.0004408/0.564, allocations: 107.8 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.5641, allocations: 79.77 kB / 0.7265 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.5642, allocations: 15.98 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.5643, allocations: 43.78 kB / 0.7266 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.5643, allocations: 35.83 kB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.5643, allocations: 12 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.5645, allocations: 95.91 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.5645, allocations: 15.98 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.5646, allocations: 31.8 kB / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.5648, allocations: 153.6 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5648, allocations: 4 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5648, allocations: 0 / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5648, allocations: 3.938 kB / 0.7269 GB, free: 10.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006412/0.5655, allocations: 470.5 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.5655, allocations: 12.03 kB / 0.7274 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.5656, allocations: 8.844 kB / 0.7274 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.5657, allocations: 176.2 kB / 0.7275 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5657, allocations: 4.375 kB / 0.7275 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.5657, allocations: 8.375 kB / 0.7275 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.5659, allocations: 77.89 kB / 0.7276 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.5659, allocations: 0 / 0.7276 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5659, allocations: 4 kB / 0.7276 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5659, allocations: 4 kB / 0.7276 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.5661, allocations: 39.97 kB / 0.7277 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.5666, allocations: 316.7 kB / 0.728 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.5667, allocations: 66.58 kB / 0.728 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/0.5668, allocations: 36.84 kB / 0.7281 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.5668, allocations: 3.984 kB / 0.7281 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.567, allocations: 95.36 kB / 0.7282 GB, free: 8.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.5671, allocations: 0 / 0.7282 GB, free: 8.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003511/0.5674, allocations: 153.5 kB / 0.7283 GB, free: 8.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5675, allocations: 59.5 kB / 0.7284 GB, free: 8.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.5676, allocations: 129.3 kB / 0.7285 GB, free: 8.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5676, allocations: 29.7 kB / 0.7285 GB, free: 8.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.5676, allocations: 100.7 kB / 0.7286 GB, free: 8.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.5677, allocations: 19.66 kB / 0.7286 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.5677, allocations: 33.7 kB / 0.7287 GB, free: 8.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5678, allocations: 326.8 kB / 0.729 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.5679, allocations: 27.92 kB / 0.729 GB, free: 7.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.568, allocations: 73.12 kB / 0.7291 GB, free: 7.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.5682, allocations: 97.08 kB / 0.7292 GB, free: 7.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5682, allocations: 0 / 0.7292 GB, free: 7.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002218/0.5684, allocations: 125.4 kB / 0.7293 GB, free: 7.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5684, allocations: 8 kB / 0.7293 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5685, allocations: 0 / 0.7293 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5685, allocations: 4 kB / 0.7293 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5686, allocations: 15.92 kB / 0.7293 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5686, allocations: 8.125 kB / 0.7293 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.5687, allocations: 15.89 kB / 0.7293 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5687, allocations: 11.94 kB / 0.7293 GB, free: 7.309 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.929e-05/0.5688, allocations: 133.6 kB / 0.7295 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.5688, allocations: 7.906 kB / 0.7295 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.5691, allocations: 145.9 kB / 0.7296 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5692, allocations: 4 kB / 0.7296 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5692, allocations: 8 kB / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5692, allocations: 0 / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.5697, allocations: 426.2 kB / 0.73 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5697, allocations: 0 / 0.73 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.5698, allocations: 11.98 kB / 0.73 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5698, allocations: 0 / 0.73 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.5698, allocations: 4 kB / 0.73 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5698, allocations: 8 kB / 0.7301 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5698, allocations: 3.938 kB / 0.7301 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.5701, allocations: 227.3 kB / 0.7303 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.5702, allocations: 85.11 kB / 0.7304 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.5702, allocations: 3.984 kB / 0.7304 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5703, allocations: 11.98 kB / 0.7304 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.5704, allocations: 15.92 kB / 0.7304 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.5704, allocations: 7.984 kB / 0.7304 GB, free: 6.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.5705, allocations: 99.27 kB / 0.7305 GB, free: 6.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5705, allocations: 0 / 0.7305 GB, free: 6.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002962/0.5708, 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 (12): * Single equations (assignments): 9 * 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.0002887/0.5711, allocations: 168.6 kB / 0.7307 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.5713, allocations: 87.83 kB / 0.7308 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5713, allocations: 0 / 0.7308 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.5714, allocations: 55.84 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.0002809/0.5717, allocations: 12 kB / 0.7308 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.5721, allocations: 235.9 kB / 0.7311 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.5724, allocations: 0.6924 MB / 0.7317 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.5724, allocations: 8.438 kB / 0.7317 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.5725, allocations: 19.42 kB / 0.7318 GB, free: 4.672 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5725, allocations: 0 / 0.7318 GB, free: 4.672 MB / 0.545 GB Notification: Performance of Templates: time 0.00401/0.5765, allocations: 1.741 MB / 0.7335 GB, free: 2.938 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (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)