Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.817/2.817, allocations: 284.8 MB / 297.3 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 176.8 kB / 365.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 93.03 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.169e-05/4.183e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8379, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2434/1.081, allocations: 140.1 MB / 1.107 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.082, allocations: 83.94 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01669/1.099, allocations: 3.243 MB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/1.099, allocations: 0 / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.099, allocations: 4 kB / 1.11 GB, free: 9.078 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009533/1.1, allocations: 482 kB / 1.11 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.1, allocations: 12.03 kB / 1.11 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/1.1, allocations: 7.906 kB / 1.11 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/1.1, allocations: 181.3 kB / 1.111 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/1.1, allocations: 7.984 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/1.1, allocations: 13.69 kB / 1.111 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/1.1, allocations: 69.66 kB / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.1, allocations: 0 / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/1.1, allocations: 0 / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.1, allocations: 5.406 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/1.101, allocations: 45.2 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/1.101, allocations: 330 kB / 1.111 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/1.102, allocations: 72.84 kB / 1.111 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/1.102, allocations: 40.84 kB / 1.111 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/1.102, allocations: 3.5 kB / 1.111 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/1.102, allocations: 95.34 kB / 1.111 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 3.206e-06/1.102, allocations: 0 / 1.111 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004772/1.103, allocations: 133.5 kB / 1.111 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/1.103, allocations: 59.36 kB / 1.111 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/1.103, allocations: 119.1 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/1.103, allocations: 31.95 kB / 1.112 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/1.103, allocations: 96.12 kB / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/1.103, allocations: 27.8 kB / 1.112 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/1.103, allocations: 1.125 kB / 1.112 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.103, allocations: 318.8 kB / 1.112 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.836e-05/1.104, allocations: 24.66 kB / 1.112 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.104, allocations: 73.08 kB / 1.112 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/1.104, allocations: 35.91 kB / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.104, allocations: 0 / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003681/1.104, allocations: 133.4 kB / 1.112 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.104, allocations: 5.406 kB / 1.112 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.104, allocations: 4 kB / 1.112 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.104, allocations: 0 / 1.112 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/1.105, allocations: 23.92 kB / 1.112 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.105, allocations: 7.953 kB / 1.112 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.105, allocations: 13.48 kB / 1.112 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/1.105, allocations: 4 kB / 1.112 GB, free: 6.426 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete 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.0001395/1.105, allocations: 123.6 kB / 1.112 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/1.105, allocations: 11.89 kB / 1.112 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/1.106, allocations: 146.2 kB / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.106, allocations: 0 / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.106, allocations: 4 kB / 1.113 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.106, allocations: 3.953 kB / 1.113 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009371/1.107, allocations: 443.7 kB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.107, allocations: 3.188 kB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/1.107, allocations: 11.98 kB / 1.113 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.107, allocations: 4 kB / 1.113 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/1.107, allocations: 0 / 1.113 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/1.107, allocations: 6.531 kB / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.107, allocations: 0 / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/1.107, allocations: 240.7 kB / 1.113 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/1.107, allocations: 87.83 kB / 1.113 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/1.107, allocations: 4 kB / 1.113 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/1.108, allocations: 11.98 kB / 1.113 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/1.108, allocations: 15.94 kB / 1.113 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/1.108, allocations: 4.141 kB / 1.113 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001038/1.108, allocations: 104.8 kB / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.108, allocations: 0 / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005406/1.108, allocations: 59.88 kB / 1.114 GB, free: 5.078 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * 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.0005474/1.109, allocations: 169.3 kB / 1.114 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003625/1.109, allocations: 87.86 kB / 1.114 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.109, allocations: 192 / 1.114 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/1.11, allocations: 48 kB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/1.11, allocations: 18.33 kB / 1.114 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/1.11, allocations: 137.5 kB / 1.114 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/1.111, allocations: 0.7004 MB / 1.115 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.848e-05/1.111, allocations: 12.42 kB / 1.115 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/1.111, allocations: 19.44 kB / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.111, allocations: 0 / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of Templates: time 0.007583/1.119, allocations: 1.951 MB / 1.117 GB, free: 1.953 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)