Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.609/1.609, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009898/0.00099, allocations: 180.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007467/0.0007467, allocations: 103.5 kB / 0.7808 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004189, allocations: 16 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.853, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/1.057, allocations: 143.5 MB / 1.166 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.058, allocations: 81.31 kB / 1.166 GB, free: 0.4961 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01135/1.069, allocations: 3.308 MB / 1.17 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.655e-06/1.069, allocations: 4 kB / 1.17 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.069, allocations: 0 / 1.17 GB, free: 14.13 MB / 0.7448 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.0007003/1.07, allocations: 0.494 MB / 1.17 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.07, allocations: 12.03 kB / 1.17 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/1.07, allocations: 8.844 kB / 1.17 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.07, allocations: 177.7 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.07, allocations: 9.25 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/1.07, allocations: 5.125 kB / 1.17 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.07, allocations: 90.19 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.07, allocations: 192 / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.07, allocations: 5.578 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.07, allocations: 0 / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/1.071, allocations: 53.69 kB / 1.171 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/1.071, allocations: 329.4 kB / 1.171 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/1.072, allocations: 88.34 kB / 1.171 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/1.072, allocations: 44.47 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/1.072, allocations: 7.984 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/1.072, allocations: 104.1 kB / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/1.072, allocations: 1.125 kB / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0004438/1.072, allocations: 183 kB / 1.171 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.072, allocations: 53.08 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/1.073, allocations: 129.8 kB / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/1.073, allocations: 38.83 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/1.073, allocations: 90.95 kB / 1.172 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/1.073, allocations: 25.62 kB / 1.172 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/1.073, allocations: 4.969 kB / 1.172 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.073, allocations: 321.9 kB / 1.172 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/1.073, allocations: 35.97 kB / 1.172 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/1.073, allocations: 71.16 kB / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/1.073, allocations: 120.5 kB / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.073, allocations: 1.594 kB / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002549/1.074, allocations: 138.3 kB / 1.172 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.074, allocations: 4 kB / 1.172 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.074, allocations: 5.609 kB / 1.172 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.074, allocations: 0.6562 kB / 1.172 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.074, allocations: 20.94 kB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.074, allocations: 4.547 kB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/1.074, allocations: 19.7 kB / 1.172 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/1.074, allocations: 4.562 kB / 1.172 GB, free: 11.43 MB / 0.7448 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.0001125/1.074, allocations: 123.7 kB / 1.172 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/1.074, allocations: 14 kB / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/1.074, allocations: 164.3 kB / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.074, allocations: 4 kB / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.074, allocations: 0.6094 kB / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/1.074, allocations: 0.6094 kB / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/1.075, allocations: 461.2 kB / 1.173 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.075, allocations: 0 / 1.173 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/1.075, allocations: 18.56 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.075, allocations: 0 / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.075, allocations: 2.062 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.075, allocations: 4.656 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.075, allocations: 0 / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/1.076, allocations: 249.5 kB / 1.173 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/1.076, allocations: 90.7 kB / 1.173 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/1.076, allocations: 4.75 kB / 1.173 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/1.076, allocations: 19.59 kB / 1.173 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.076, allocations: 12.02 kB / 1.173 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/1.076, allocations: 9.828 kB / 1.173 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.898e-05/1.076, allocations: 99.58 kB / 1.174 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.076, allocations: 0 / 1.174 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003735/1.076, allocations: 51.28 kB / 1.174 GB, free: 10.14 MB / 0.7448 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.0004163/1.077, allocations: 182.4 kB / 1.174 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002623/1.077, allocations: 96.59 kB / 1.174 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.077, allocations: 0 / 1.174 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/1.077, allocations: 54.55 kB / 1.174 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/1.078, allocations: 24.08 kB / 1.174 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/1.078, allocations: 240.8 kB / 1.174 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/1.078, allocations: 0.7079 MB / 1.175 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.673e-05/1.078, allocations: 10.12 kB / 1.175 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/1.078, allocations: 16.7 kB / 1.175 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.078, allocations: 0 / 1.175 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of Templates: time 0.005216/1.084, allocations: 1.942 MB / 1.177 GB, free: 7.547 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)