Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.902/3.902, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00224/0.00224, allocations: 183.1 kB / 326.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.827/3.827, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 85.22 kB / 0.6817 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008193/0.0008194, allocations: 13.25 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.333, allocations: 106.3 MB / 0.8995 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.6698, allocations: 133.8 MB / 1.03 GB, free: 11.62 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005842/0.6705, allocations: 87.95 kB / 1.03 GB, free: 11.53 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02555/0.6961, allocations: 3.271 MB / 1.033 GB, free: 8.25 MB / 0.6824 GB Notification: Performance of FrontEnd: time 4.218e-06/0.6961, allocations: 0 / 1.033 GB, free: 8.25 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.6962, allocations: 4 kB / 1.033 GB, free: 8.246 MB / 0.6824 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.001327/0.6975, allocations: 0.4884 MB / 1.034 GB, free: 7.688 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.6976, allocations: 12.03 kB / 1.034 GB, free: 7.676 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.6977, allocations: 16.83 kB / 1.034 GB, free: 7.66 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.698, allocations: 180.3 kB / 1.034 GB, free: 7.445 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.698, allocations: 4.375 kB / 1.034 GB, free: 7.441 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.6981, allocations: 4.375 kB / 1.034 GB, free: 7.438 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.6985, allocations: 82.2 kB / 1.034 GB, free: 7.352 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6986, allocations: 192 / 1.034 GB, free: 7.352 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.6986, allocations: 3.938 kB / 1.034 GB, free: 7.348 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.6986, allocations: 0 / 1.034 GB, free: 7.348 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.6991, allocations: 71.88 kB / 1.034 GB, free: 7.277 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.7002, allocations: 328.7 kB / 1.035 GB, free: 6.906 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.7008, allocations: 86.61 kB / 1.035 GB, free: 6.812 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.701, allocations: 40.94 kB / 1.035 GB, free: 6.77 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.7011, allocations: 7.938 kB / 1.035 GB, free: 6.762 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.7015, allocations: 99.34 kB / 1.035 GB, free: 6.652 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=11): time 4.819e-06/0.7016, allocations: 4 kB / 1.035 GB, free: 6.648 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.001059/0.7026, allocations: 181.4 kB / 1.035 GB, free: 6.465 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.7027, allocations: 55.41 kB / 1.035 GB, free: 6.398 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.703, allocations: 131.1 kB / 1.035 GB, free: 6.258 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.703, allocations: 33.64 kB / 1.035 GB, free: 6.219 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.7032, allocations: 100 kB / 1.035 GB, free: 6.117 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.7033, allocations: 27.7 kB / 1.035 GB, free: 6.09 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.7033, allocations: 0 / 1.035 GB, free: 6.09 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.7035, allocations: 322.8 kB / 1.036 GB, free: 5.766 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.7037, allocations: 31.92 kB / 1.036 GB, free: 5.734 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.704, allocations: 78.33 kB / 1.036 GB, free: 5.641 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.7043, allocations: 43.92 kB / 1.036 GB, free: 5.598 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7043, allocations: 0 / 1.036 GB, free: 5.598 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006834/0.705, allocations: 137.4 kB / 1.036 GB, free: 5.457 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.7051, allocations: 8.094 kB / 1.036 GB, free: 5.449 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.7051, allocations: 4 kB / 1.036 GB, free: 5.445 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.7051, allocations: 3.984 kB / 1.036 GB, free: 5.441 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.7054, allocations: 15.94 kB / 1.036 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.7055, allocations: 7.984 kB / 1.036 GB, free: 5.418 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.7058, allocations: 15.91 kB / 1.036 GB, free: 5.402 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.7058, allocations: 4 kB / 1.036 GB, free: 5.398 MB / 0.6824 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.0002591/0.7061, allocations: 137.7 kB / 1.036 GB, free: 5.254 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.7062, allocations: 7.906 kB / 1.036 GB, free: 5.246 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008299/0.707, allocations: 158.3 kB / 1.036 GB, free: 5.09 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7071, allocations: 4 kB / 1.036 GB, free: 5.086 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7071, allocations: 0 / 1.036 GB, free: 5.086 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.7071, allocations: 0 / 1.036 GB, free: 5.086 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.7086, allocations: 468.4 kB / 1.037 GB, free: 4.574 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7086, allocations: 144 / 1.037 GB, free: 4.574 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.7089, allocations: 11.98 kB / 1.037 GB, free: 4.562 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.7089, allocations: 3.984 kB / 1.037 GB, free: 4.559 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.7089, allocations: 4 kB / 1.037 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.709, allocations: 0 / 1.037 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.709, allocations: 4 kB / 1.037 GB, free: 4.551 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.7098, allocations: 251.2 kB / 1.037 GB, free: 4.289 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.71, allocations: 84.95 kB / 1.037 GB, free: 4.188 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.7101, allocations: 8 kB / 1.037 GB, free: 4.18 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.7104, allocations: 19.98 kB / 1.037 GB, free: 4.16 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.7105, allocations: 15.92 kB / 1.037 GB, free: 4.145 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.7106, allocations: 7.984 kB / 1.037 GB, free: 4.137 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001359/0.7107, allocations: 97.94 kB / 1.037 GB, free: 4.043 MB / 0.6824 GB Notification: Performance of sort global known variables: time 9.42e-07/0.7107, allocations: 0 / 1.037 GB, free: 4.043 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0007992/0.7115, allocations: 59.94 kB / 1.037 GB, free: 3.984 MB / 0.6824 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.00072/0.7123, allocations: 170.9 kB / 1.037 GB, free: 3.82 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0006508/0.713, allocations: 102.7 kB / 1.038 GB, free: 3.723 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.713, allocations: 4 kB / 1.038 GB, free: 3.719 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.7133, allocations: 47.98 kB / 1.038 GB, free: 3.672 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.7141, allocations: 24.55 kB / 1.038 GB, free: 3.648 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.7151, allocations: 251.4 kB / 1.038 GB, free: 3.375 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.7156, allocations: 0.6965 MB / 1.039 GB, free: 2.652 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.7157, allocations: 12.42 kB / 1.039 GB, free: 2.637 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.7158, allocations: 11.44 kB / 1.039 GB, free: 2.629 MB / 0.6824 GB Notification: Performance of SimCode: time 1.714e-06/0.7159, allocations: 0 / 1.039 GB, free: 2.629 MB / 0.6824 GB Notification: Performance of Templates: time 0.01112/0.727, allocations: 1.956 MB / 1.04 GB, free: 0.6797 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)