Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001276/0.001276, allocations: 177 kB / 377.1 MB, free: 1.52 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.604/1.604, allocations: 205.4 MB / 0.6367 GB, free: 9.477 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.0008615/0.0008613, allocations: 94.48 kB / 0.751 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003197, allocations: 8 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2444, allocations: 116.3 MB / 0.9884 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7117/0.9562, allocations: 141.3 MB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/0.9566, allocations: 87.47 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.01381/0.9705, allocations: 3.254 MB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.12e-06/0.9705, allocations: 0 / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.9706, allocations: 4 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001023/0.9716, allocations: 0.4949 MB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.9717, allocations: 8.031 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.9718, allocations: 10.53 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.972, allocations: 178.3 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.972, allocations: 4 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.9721, allocations: 9.203 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.9723, allocations: 82.28 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9723, allocations: 4 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.9724, allocations: 9.188 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.9724, allocations: 0.5625 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.9726, allocations: 46.94 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.9734, allocations: 341 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.9737, allocations: 81.91 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.9737, allocations: 0 / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.974, allocations: 109.9 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.725e-06/0.9741, allocations: 0 / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006072/0.9747, allocations: 184 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.9747, allocations: 55.56 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.9749, allocations: 121.4 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.9749, allocations: 33.7 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.975, allocations: 96.12 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.975, allocations: 23.28 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.9751, allocations: 4 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.9752, allocations: 322.4 kB / 1.132 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.9753, allocations: 32.17 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.9754, allocations: 73.16 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.9756, allocations: 40.02 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.9756, allocations: 4 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003569/0.976, allocations: 145.7 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.976, allocations: 7.125 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.976, allocations: 4 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.976, allocations: 0 / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.9762, allocations: 20.36 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.9762, allocations: 7.516 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.9764, allocations: 12.44 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.9764, allocations: 16.38 kB / 1.132 GB, free: 28.93 MB / 0.7292 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001469/0.9766, allocations: 125.9 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.9766, allocations: 7.906 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.9771, allocations: 163.1 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.9771, allocations: 4 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.9771, allocations: 0.5 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9772, allocations: 0.9375 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.9779, allocations: 459.5 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.9779, allocations: 0.5625 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.978, allocations: 11.94 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.978, allocations: 4 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.9781, allocations: 7.703 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.9781, allocations: 4.625 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9781, allocations: 3.953 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.9785, allocations: 242.6 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.9786, allocations: 92.47 kB / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.9786, allocations: 0.6562 kB / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.9788, allocations: 15.92 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.9789, allocations: 11.56 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.9789, allocations: 7.953 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.617e-05/0.979, allocations: 104.6 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.693e-06/0.979, allocations: 0 / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005553/0.9796, allocations: 59.88 kB / 1.133 GB, free: 27.63 MB / 0.7292 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0005571/0.9801, allocations: 175.8 kB / 1.134 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.9805, allocations: 94.2 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9805, allocations: 0 / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.9806, allocations: 55.06 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.9809, allocations: 24.39 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.9816, allocations: 249.2 kB / 1.134 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.9818, allocations: 0.7021 MB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.771e-05/0.9819, allocations: 7.906 kB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.9819, allocations: 15.44 kB / 1.135 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.9819, allocations: 0 / 1.135 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.007604/0.9895, allocations: 1.947 MB / 1.137 GB, free: 25.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)