Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 92.78 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00969/0.00969, allocations: 173.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.0005198, allocations: 8.938 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3622, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001674/0.364, allocations: 1.247 MB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3653, allocations: 0.7518 MB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.3654, allocations: 0 / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.3655, allocations: 3.938 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.3656, allocations: 7.875 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.3661, allocations: 115.8 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3663, allocations: 95.69 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.3663, allocations: 11.98 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3665, allocations: 35.91 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.3666, allocations: 47.75 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3666, allocations: 4 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3668, allocations: 91.91 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.3668, allocations: 19.92 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.3669, allocations: 61.48 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.3671, allocations: 159.8 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3672, allocations: 0 / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3672, allocations: 0 / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.3672, allocations: 0 / 1.077 GB, free: 4.84 MB / 0.8262 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.0007124/0.3679, allocations: 493.7 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3679, allocations: 8.031 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.368, allocations: 8.844 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.3681, allocations: 176.1 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.3682, allocations: 12.36 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3682, allocations: 4.375 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3684, allocations: 85.89 kB / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3685, allocations: 3.984 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3685, allocations: 4 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3685, allocations: 8 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3687, allocations: 47.97 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.3692, allocations: 340.7 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3695, allocations: 90.7 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.3696, allocations: 40.84 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3696, allocations: 0 / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.3699, allocations: 99.36 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.3699, allocations: 0 / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004804/0.3704, allocations: 185.7 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3704, allocations: 59.39 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3705, allocations: 136 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3706, allocations: 33.7 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.3706, allocations: 88.14 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.3707, allocations: 31.62 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3707, allocations: 25.72 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3709, allocations: 322.8 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.371, allocations: 31.98 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3711, allocations: 69.12 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3713, allocations: 113 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3713, allocations: 4 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002953/0.3716, allocations: 137.4 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3716, allocations: 4 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3716, allocations: 7.984 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3717, allocations: 0 / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3718, allocations: 19.98 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3718, allocations: 8.031 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3719, allocations: 23.78 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3719, allocations: 11.98 kB / 1.079 GB, free: 1.883 MB / 0.8262 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.3721, allocations: 129.9 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.3721, allocations: 7.906 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.3725, allocations: 170.3 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3725, allocations: 4 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3725, allocations: 0 / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3725, allocations: 0 / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.3732, allocations: 450 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.3733, allocations: 4 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.669e-05/0.3734, allocations: 19.92 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3734, allocations: 0 / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3734, allocations: 4 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3734, allocations: 4 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3734, allocations: 3.938 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.3738, allocations: 247.4 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.3738, allocations: 84.95 kB / 1.08 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3739, allocations: 4 kB / 1.08 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.374, allocations: 19.92 kB / 1.08 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.3741, allocations: 11.92 kB / 1.08 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3741, allocations: 11.92 kB / 1.08 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.051e-05/0.3742, allocations: 101.2 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3742, allocations: 4 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003511/0.3745, allocations: 40 kB / 1.081 GB, free: 496 kB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003994/0.3749, allocations: 155.3 kB / 1.081 GB, free: 348 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3752, allocations: 107.9 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3752, allocations: 0 / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3754, allocations: 51.92 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3757, allocations: 16.27 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.3763, allocations: 255.5 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3766, allocations: 0.6965 MB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.022e-05/0.3767, allocations: 16.42 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.3767, allocations: 15.42 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.3767, allocations: 0 / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.005225/0.3819, allocations: 1.816 MB / 1.084 GB, free: 13.33 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)