Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.001115/0.001114, allocations: 182.9 kB / 373 MB, free: 10.14 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.523/1.523, allocations: 205.4 MB / 0.6317 GB, free: 9.879 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.0008425/0.0008425, allocations: 93.12 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 11.59 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1987, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6341/0.8329, allocations: 140.3 MB / 1.118 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.8332, allocations: 83.84 kB / 1.118 GB, free: 16.53 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.009111/0.8423, allocations: 3.274 MB / 1.121 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8423, allocations: 0 / 1.121 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.8423, allocations: 0 / 1.121 GB, free: 32.07 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.0005846/0.8429, allocations: 0.4928 MB / 1.122 GB, free: 31.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.843, allocations: 7.719 kB / 1.122 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.843, allocations: 12.69 kB / 1.122 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.8431, allocations: 171 kB / 1.122 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.8431, allocations: 4.25 kB / 1.122 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.8432, allocations: 7.938 kB / 1.122 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.8434, allocations: 86.14 kB / 1.122 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8434, allocations: 4.172 kB / 1.122 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.8434, allocations: 7.875 kB / 1.122 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8434, allocations: 3.875 kB / 1.122 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.8435, allocations: 46.97 kB / 1.122 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.8441, allocations: 339.8 kB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.8442, allocations: 89.55 kB / 1.122 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.8443, allocations: 42.02 kB / 1.122 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.8444, allocations: 0 / 1.122 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.8445, allocations: 106.4 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.514e-06/0.8446, allocations: 0 / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003753/0.8449, allocations: 184.3 kB / 1.123 GB, free: 30.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.845, allocations: 55.31 kB / 1.123 GB, free: 30.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.8451, allocations: 137.1 kB / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.8451, allocations: 29.52 kB / 1.123 GB, free: 30.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.8452, allocations: 94.19 kB / 1.123 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.8452, allocations: 29.44 kB / 1.123 GB, free: 30.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.8452, allocations: 0 / 1.123 GB, free: 30.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.8453, allocations: 321.7 kB / 1.123 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.8454, allocations: 32.64 kB / 1.123 GB, free: 30.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.8455, allocations: 74.36 kB / 1.123 GB, free: 30.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.8457, allocations: 120.1 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8457, allocations: 0 / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000234/0.8459, allocations: 136.9 kB / 1.124 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.8459, allocations: 7.781 kB / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8459, allocations: 3.875 kB / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.846, allocations: 0 / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.8461, allocations: 25.48 kB / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8461, allocations: 3.938 kB / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.8462, allocations: 19 kB / 1.124 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.8462, allocations: 7.094 kB / 1.124 GB, free: 30.13 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 8.848e-05/0.8463, allocations: 131.9 kB / 1.124 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8463, allocations: 7.781 kB / 1.124 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.8466, allocations: 165.8 kB / 1.124 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8466, allocations: 0 / 1.124 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.8466, allocations: 3.375 kB / 1.124 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8466, allocations: 0 / 1.124 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.8471, allocations: 453.6 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8471, allocations: 0 / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.8472, allocations: 18.91 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8472, allocations: 0 / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.8472, allocations: 4.312 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8473, allocations: 3.875 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8473, allocations: 0 / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.8475, allocations: 252.7 kB / 1.125 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.8476, allocations: 88.77 kB / 1.125 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.8476, allocations: 7.5 kB / 1.125 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.8477, allocations: 11.38 kB / 1.125 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.8478, allocations: 18.19 kB / 1.125 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8478, allocations: 3.656 kB / 1.125 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.8478, allocations: 112.1 kB / 1.125 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8479, allocations: 0 / 1.125 GB, free: 29.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003185/0.8482, allocations: 52.91 kB / 1.125 GB, free: 29.3 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.0003342/0.8485, allocations: 172 kB / 1.125 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.8488, allocations: 100.9 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8488, allocations: 0 / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.8489, allocations: 53.44 kB / 1.125 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.8492, allocations: 14.66 kB / 1.125 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.8496, allocations: 250.2 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.8499, allocations: 0.6976 MB / 1.126 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.829e-05/0.8499, allocations: 19.41 kB / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.85, allocations: 11.25 kB / 1.126 GB, free: 28.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.85, allocations: 0 / 1.126 GB, free: 28.32 MB / 0.698 GB Notification: Performance of Templates: time 0.004036/0.854, allocations: 1.959 MB / 1.128 GB, free: 28.16 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)