Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.521/1.521, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001103/0.001104, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.28/1.28, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007911/0.0007912, allocations: 96.38 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.771e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5826/0.5827, allocations: 116.3 MB / 0.9732 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.7529, allocations: 140.5 MB / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.7532, allocations: 87.88 kB / 1.111 GB, free: 9.59 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.00952/0.7627, allocations: 3.225 MB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7627, allocations: 3.984 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.7627, allocations: 0 / 1.114 GB, free: 6.391 MB / 0.7136 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.0005822/0.7633, allocations: 482.7 kB / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.7634, allocations: 8.031 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.7634, allocations: 8.594 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.7636, allocations: 186.8 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.7636, allocations: 0 / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.7637, allocations: 11.92 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001167/0.7638, allocations: 36 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.7639, allocations: 70.94 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7639, allocations: 3.984 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.7639, allocations: 2.625 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.764, allocations: 5.156 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.7645, allocations: 298.9 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.7647, allocations: 74 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.7647, allocations: 32.86 kB / 1.115 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.7648, allocations: 0 / 1.115 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.7649, allocations: 91.36 kB / 1.115 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.7649, allocations: 4.75 kB / 1.115 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003132/0.7652, allocations: 132.5 kB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.7653, allocations: 59.39 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.7654, allocations: 119.2 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.7654, allocations: 25.7 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.7655, allocations: 88.14 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.7655, allocations: 31.78 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.7655, allocations: 0 / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7657, allocations: 329.7 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.7657, allocations: 24 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.7658, allocations: 53.16 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.063e-05/0.7658, allocations: 35.91 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7659, allocations: 0 / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001757/0.766, allocations: 113.4 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7661, allocations: 11 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7661, allocations: 0 / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7661, allocations: 4 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.7662, allocations: 28.02 kB / 1.116 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7662, allocations: 10.48 kB / 1.116 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.563e-05/0.7663, allocations: 8 kB / 1.116 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.7663, allocations: 4 kB / 1.116 GB, free: 3.836 MB / 0.7136 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 () * 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.388e-05/0.7664, allocations: 116.9 kB / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.7665, allocations: 11.84 kB / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.7667, allocations: 143.8 kB / 1.116 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7667, allocations: 4 kB / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7668, allocations: 0 / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7668, allocations: 0 / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.7673, allocations: 406.8 kB / 1.117 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.7673, allocations: 0 / 1.117 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.7673, allocations: 19.94 kB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7674, allocations: 4 kB / 1.117 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.7674, allocations: 6.547 kB / 1.117 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7674, allocations: 4 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7674, allocations: 0 / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.7676, allocations: 221.9 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.7677, allocations: 88.95 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.7677, allocations: 0 / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.7678, allocations: 15.98 kB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.7679, allocations: 15.98 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.7679, allocations: 3.984 kB / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.768, allocations: 96.55 kB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.768, allocations: 0 / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002953/0.7683, allocations: 55.92 kB / 1.117 GB, free: 2.562 MB / 0.7136 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) * 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.0003563/0.7686, allocations: 171.9 kB / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.7688, allocations: 72.55 kB / 1.117 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7688, allocations: 0 / 1.117 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.7689, allocations: 43.94 kB / 1.117 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.7692, allocations: 19.8 kB / 1.117 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.7695, allocations: 133.2 kB / 1.118 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.7697, allocations: 0.7002 MB / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.7698, allocations: 9.172 kB / 1.118 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.7699, allocations: 23.42 kB / 1.118 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7699, allocations: 4 kB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of Templates: time 0.004343/0.7742, allocations: 1.895 MB / 1.12 GB, free: 15.5 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)