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.869/2.869, allocations: 287.5 MB / 302.5 MB, free: 8.152 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.001482/0.001482, allocations: 193 kB / 371 MB, free: 10.79 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.188/2.188, allocations: 205.4 MB / 0.6297 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 90.28 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.000487, allocations: 19.84 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2129, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9514/1.164, allocations: 140.1 MB / 1.115 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.165, allocations: 81.48 kB / 1.115 GB, free: 15.73 MB / 0.6823 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.01439/1.179, allocations: 3.257 MB / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.063e-06/1.179, allocations: 0 / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.746e-06/1.179, allocations: 0 / 1.118 GB, free: 31.27 MB / 0.698 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.0008917/1.18, allocations: 0.4986 MB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.18, allocations: 11.5 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/1.18, allocations: 7.812 kB / 1.119 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/1.18, allocations: 182.4 kB / 1.119 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/1.18, allocations: 7.469 kB / 1.119 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/1.18, allocations: 6.25 kB / 1.119 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/1.181, allocations: 79.25 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.181, allocations: 4 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/1.181, allocations: 0 / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.181, allocations: 3.812 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/1.181, allocations: 54.02 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/1.182, allocations: 336.7 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/1.182, allocations: 85.05 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/1.182, allocations: 96 / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/1.182, allocations: 105.8 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/1.182, allocations: 4 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006341/1.183, allocations: 184.2 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.183, allocations: 59.17 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/1.183, allocations: 118 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/1.183, allocations: 33.08 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/1.183, allocations: 90.16 kB / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/1.183, allocations: 30.58 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/1.183, allocations: 7.156 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.184, allocations: 316.7 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/1.184, allocations: 33.78 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/1.184, allocations: 78.59 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/1.184, allocations: 35.97 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.184, allocations: 0 / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003659/1.184, allocations: 142.1 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.185, allocations: 11.84 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.185, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.185, allocations: 3.875 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.185, allocations: 20.36 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.185, allocations: 3.875 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.185, allocations: 18.77 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/1.185, allocations: 7.781 kB / 1.121 GB, free: 29.4 MB / 0.698 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.000132/1.185, allocations: 128.5 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/1.185, allocations: 7.844 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/1.186, allocations: 161.1 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.186, allocations: 3.938 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.186, allocations: 0 / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/1.186, allocations: 1.547 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/1.187, allocations: 463 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/1.187, allocations: 0 / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/1.187, allocations: 14.31 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.187, allocations: 0 / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/1.187, allocations: 9.391 kB / 1.122 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/1.187, allocations: 11.94 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.187, allocations: 0 / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/1.187, allocations: 246.2 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/1.187, allocations: 90.19 kB / 1.122 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/1.187, allocations: 3.375 kB / 1.122 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.188, allocations: 15 kB / 1.122 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/1.188, allocations: 16.11 kB / 1.122 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/1.188, allocations: 8.547 kB / 1.122 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.743e-05/1.188, allocations: 98.7 kB / 1.122 GB, free: 28.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/1.188, allocations: 0 / 1.122 GB, free: 28.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000462/1.188, allocations: 56.78 kB / 1.122 GB, free: 28.57 MB / 0.698 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.0004567/1.189, allocations: 168.3 kB / 1.122 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000359/1.189, allocations: 102.4 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.189, allocations: 0 / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/1.189, allocations: 52.05 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/1.19, allocations: 21.56 kB / 1.123 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/1.19, allocations: 250.9 kB / 1.123 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/1.191, allocations: 0.7029 MB / 1.123 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.791e-05/1.191, allocations: 10.97 kB / 1.123 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/1.191, allocations: 14.42 kB / 1.124 GB, free: 27.58 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/1.191, allocations: 0 / 1.124 GB, free: 27.58 MB / 0.698 GB Notification: Performance of Templates: time 0.006284/1.197, allocations: 1.944 MB / 1.125 GB, free: 27.42 MB / 0.698 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)