Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.5 MB / 303.2 MB, free: 8.07 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.001373/0.001373, allocations: 182.7 kB / 371.8 MB, free: 10.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 2.048/2.048, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008936/0.0008933, allocations: 93.81 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006461/0.0006463, allocations: 12.22 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2342, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9189/1.153, allocations: 140.2 MB / 1.116 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.154, allocations: 85.89 kB / 1.116 GB, free: 15.78 MB / 0.6823 GB [/home/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.01454/1.168, allocations: 3.268 MB / 1.119 GB, free: 31.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/1.168, allocations: 3.938 kB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.168, allocations: 3.75 kB / 1.119 GB, free: 31.32 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.0008956/1.169, allocations: 0.4965 MB / 1.12 GB, free: 30.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.169, allocations: 10.95 kB / 1.12 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/1.169, allocations: 8.688 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.169, allocations: 174.2 kB / 1.12 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.169, allocations: 2.812 kB / 1.12 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/1.169, allocations: 8.203 kB / 1.12 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/1.17, allocations: 92.36 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.17, allocations: 1.562 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/1.17, allocations: 3.938 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.17, allocations: 1.344 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/1.17, allocations: 53.23 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/1.171, allocations: 335.8 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/1.171, allocations: 91.34 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/1.171, allocations: 37.72 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/1.171, allocations: 11.11 kB / 1.121 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/1.171, allocations: 93.31 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.465e-06/1.172, allocations: 0 / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006046/1.172, allocations: 185.6 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/1.172, allocations: 59.31 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.172, allocations: 132.4 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.172, allocations: 29.2 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/1.172, allocations: 93.36 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/1.173, allocations: 25.95 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/1.173, allocations: 3.375 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.173, allocations: 321 kB / 1.122 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/1.173, allocations: 32.86 kB / 1.122 GB, free: 29.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/1.173, allocations: 75.52 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/1.173, allocations: 117.2 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.173, allocations: 0 / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003711/1.174, allocations: 139.6 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.174, allocations: 7.656 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.174, allocations: 4.234 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.174, allocations: 3.875 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/1.174, allocations: 25.27 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.174, allocations: 11.81 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/1.174, allocations: 18.58 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/1.174, allocations: 7.828 kB / 1.122 GB, free: 29.38 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.0001324/1.174, allocations: 124.3 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/1.174, allocations: 11.78 kB / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/1.175, allocations: 161.2 kB / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.175, allocations: 0 / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.175, allocations: 0 / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.175, allocations: 0 / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/1.176, allocations: 457.4 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.176, allocations: 3.938 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/1.176, allocations: 17.72 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.176, allocations: 0 / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.176, allocations: 0 / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.176, allocations: 3.875 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.176, allocations: 0 / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/1.176, allocations: 252.5 kB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/1.176, allocations: 88.83 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/1.176, allocations: 2.688 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.177, allocations: 10.69 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/1.177, allocations: 28.55 kB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/1.177, allocations: 3.906 kB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.432e-05/1.177, allocations: 104.3 kB / 1.123 GB, free: 28.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.177, allocations: 0 / 1.123 GB, free: 28.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004658/1.177, allocations: 53.59 kB / 1.123 GB, free: 28.56 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.0004396/1.178, allocations: 175.1 kB / 1.123 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003532/1.178, allocations: 103.2 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.178, allocations: 0 / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/1.178, allocations: 52.61 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/1.179, allocations: 27.66 kB / 1.124 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/1.179, allocations: 241.8 kB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/1.18, allocations: 0.7025 MB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.844e-05/1.18, allocations: 4.312 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/1.18, allocations: 18.36 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.18, allocations: 0 / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of Templates: time 0.006227/1.186, allocations: 1.948 MB / 1.126 GB, free: 27.4 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)