Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 252 MB / 267.9 MB, free: 10.92 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.000878/0.000878, allocations: 168.2 kB / 327.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.4 MB / 0.5785 GB, free: 20.15 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.0008421/0.0008421, allocations: 99.59 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 11.91 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.3287, allocations: 134 MB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3289, allocations: 83.94 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.009228/0.3382, allocations: 3.274 MB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3382, allocations: 0 / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3382, allocations: 0 / 1.035 GB, free: 6.094 MB / 0.6823 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.0006231/0.3388, allocations: 0.5001 MB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3389, allocations: 8.031 kB / 1.036 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.3389, allocations: 8.844 kB / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3391, allocations: 178.2 kB / 1.036 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3391, allocations: 8.312 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3391, allocations: 8.375 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3393, allocations: 86.14 kB / 1.036 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3393, allocations: 192 / 1.036 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3393, allocations: 3.938 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3394, allocations: 4 kB / 1.036 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3395, allocations: 51.97 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.3401, allocations: 332.7 kB / 1.037 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3403, allocations: 90.61 kB / 1.037 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.3404, allocations: 40.84 kB / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3404, allocations: 7.984 kB / 1.037 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.3406, allocations: 111.3 kB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.3406, allocations: 0 / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0004091/0.341, allocations: 177.5 kB / 1.037 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.3411, allocations: 63.41 kB / 1.037 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3412, allocations: 130.1 kB / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3412, allocations: 25.7 kB / 1.037 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.3413, allocations: 92.14 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.3413, allocations: 27.61 kB / 1.037 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.3413, allocations: 4 kB / 1.037 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3415, allocations: 322.8 kB / 1.038 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.3415, allocations: 31.92 kB / 1.038 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.3416, allocations: 74.62 kB / 1.038 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.3418, allocations: 113 kB / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3418, allocations: 0 / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002416/0.3421, allocations: 137.4 kB / 1.038 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3421, allocations: 8 kB / 1.038 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3421, allocations: 0 / 1.038 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3422, allocations: 8.094 kB / 1.038 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3423, allocations: 23.92 kB / 1.038 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3423, allocations: 4 kB / 1.038 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.3424, allocations: 11.98 kB / 1.038 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3424, allocations: 4 kB / 1.038 GB, free: 3.164 MB / 0.6823 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 9.019e-05/0.3425, allocations: 131.8 kB / 1.038 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3425, allocations: 11.89 kB / 1.038 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.3429, allocations: 172.3 kB / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3429, allocations: 0 / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3429, allocations: 0 / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3429, allocations: 3.938 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.3435, allocations: 462.2 kB / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3435, allocations: 144 / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.3435, allocations: 12 kB / 1.039 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3436, allocations: 3.984 kB / 1.039 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3436, allocations: 11.98 kB / 1.039 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3436, allocations: 0 / 1.039 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3436, allocations: 0 / 1.039 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3439, allocations: 251.3 kB / 1.039 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.344, allocations: 88.95 kB / 1.039 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.344, allocations: 8 kB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3441, allocations: 11.98 kB / 1.039 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3441, allocations: 15.92 kB / 1.039 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3442, allocations: 8 kB / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.855e-05/0.3442, allocations: 104.5 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3442, allocations: 0 / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003099/0.3445, allocations: 51.94 kB / 1.039 GB, free: 1.746 MB / 0.6823 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.000309/0.3449, allocations: 169.7 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3451, allocations: 99.83 kB / 1.04 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3451, allocations: 4 kB / 1.04 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3452, allocations: 53.72 kB / 1.04 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3455, allocations: 29.83 kB / 1.04 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.346, allocations: 255.5 kB / 1.04 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3462, allocations: 0.7004 MB / 1.041 GB, free: 416 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.723e-05/0.3463, allocations: 8.438 kB / 1.041 GB, free: 404 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.3463, allocations: 19.42 kB / 1.041 GB, free: 388 kB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3463, allocations: 0 / 1.041 GB, free: 388 kB / 0.6823 GB Notification: Performance of Templates: time 0.004286/0.3506, allocations: 1.932 MB / 1.042 GB, free: 14.45 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)