Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 176.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009376/0.000938, allocations: 96.73 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.797e-05, allocations: 4 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6952, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.8933, allocations: 139.5 MB / 1.101 GB, free: 344 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.8937, allocations: 81.08 kB / 1.101 GB, free: 264 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 FrontEnd - DAE generated: time 0.009974/0.9037, allocations: 3.142 MB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9037, allocations: 0.625 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.9037, allocations: 5.031 kB / 1.104 GB, free: 13.17 MB / 0.7136 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.000659/0.9044, allocations: 459.7 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.9044, allocations: 8.75 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.9045, allocations: 8.938 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.9047, allocations: 171.7 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.9047, allocations: 4 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.9047, allocations: 4.594 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.9048, allocations: 32.7 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.905, allocations: 68.31 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.905, allocations: 0.5312 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.905, allocations: 0.5625 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.905, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.9056, allocations: 308.7 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.9057, allocations: 61.47 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.9058, allocations: 28.8 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.9058, allocations: 0 / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.906, allocations: 87.31 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.366e-06/0.906, allocations: 3.625 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000287/0.9063, allocations: 113.5 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.9063, allocations: 51.41 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.99e-05/0.9064, allocations: 114 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.9065, allocations: 29.64 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.9065, allocations: 92.28 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.9066, allocations: 23.94 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.9066, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9067, allocations: 322.8 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.9067, allocations: 30.14 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.9068, allocations: 58.16 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/0.9069, allocations: 27.91 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9069, allocations: 4 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001652/0.907, allocations: 109.4 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9071, allocations: 9.094 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9071, allocations: 0 / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.9071, allocations: 4 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.9072, allocations: 19.92 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9072, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.9073, allocations: 16.11 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.9074, allocations: 4 kB / 1.106 GB, free: 10.73 MB / 0.7136 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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.159e-05/0.9075, allocations: 118.6 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.9075, allocations: 11.89 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.9078, allocations: 130.1 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.9078, allocations: 4 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9078, allocations: 0 / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9079, allocations: 4 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.9083, allocations: 378.9 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9083, allocations: 0 / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.9084, allocations: 11.98 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9084, allocations: 0 / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.9084, allocations: 4 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.9085, allocations: 2.938 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9085, allocations: 4 kB / 1.107 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.9087, allocations: 217.1 kB / 1.107 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.9087, allocations: 89.02 kB / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.9088, allocations: 0 / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.9089, allocations: 11.98 kB / 1.107 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.909, allocations: 7.984 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.909, allocations: 11.98 kB / 1.107 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.909, allocations: 96.66 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.909, allocations: 0 / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003584/0.9094, allocations: 51.92 kB / 1.107 GB, free: 9.516 MB / 0.7136 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * 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.0004277/0.9098, allocations: 171.1 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.91, allocations: 71.86 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.91, allocations: 0 / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.9101, allocations: 37.58 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.9104, allocations: 23.03 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.9107, allocations: 114.8 kB / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.911, allocations: 0.7051 MB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.779e-05/0.9111, allocations: 4.438 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.9111, allocations: 19.42 kB / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.9111, allocations: 4 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of Templates: time 0.006115/0.9172, allocations: 1.768 MB / 1.11 GB, free: 6.617 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)