Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008752/0.0008754, allocations: 90.36 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.007221/0.007221, allocations: 170.5 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003842, allocations: 8.031 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3367, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001726/0.3385, allocations: 1.243 MB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3398, allocations: 0.7441 MB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.3399, allocations: 4 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.3399, allocations: 3.938 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.34, allocations: 11.92 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.3405, allocations: 103.8 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3406, allocations: 99.62 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3408, allocations: 15.97 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3409, allocations: 35.92 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.341, allocations: 43.81 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.341, allocations: 4 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.3412, allocations: 95.84 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.3412, allocations: 19.91 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.3413, allocations: 61.5 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3416, allocations: 151.8 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3416, allocations: 0 / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3416, allocations: 3.938 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3416, allocations: 0 / 1.077 GB, free: 4.871 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.0008043/0.3424, allocations: 492.3 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3425, allocations: 12.02 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3425, allocations: 8.844 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.3427, allocations: 182.7 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3427, allocations: 4.312 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3427, allocations: 12.38 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3429, allocations: 89.88 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.343, allocations: 0 / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.343, allocations: 8 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.343, allocations: 0 / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.3432, allocations: 51.95 kB / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.3438, allocations: 336.8 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.344, allocations: 86.7 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3441, allocations: 48.83 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3441, allocations: 0 / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.3444, allocations: 99.36 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3444, allocations: 0 / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004594/0.3449, allocations: 189.4 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3449, allocations: 51.41 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3451, allocations: 134 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3451, allocations: 29.7 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.3452, allocations: 92.12 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3452, allocations: 23.66 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3452, allocations: 25.7 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3454, allocations: 326.8 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.3455, allocations: 35.98 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3456, allocations: 65.14 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3458, allocations: 113 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3458, allocations: 0 / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002789/0.3461, allocations: 141.4 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3461, allocations: 4.094 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3461, allocations: 8 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3462, allocations: 144 / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3463, allocations: 19.98 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3463, allocations: 4 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3464, allocations: 23.77 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3465, allocations: 11.98 kB / 1.079 GB, free: 1.918 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.0001105/0.3466, allocations: 129.7 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.3466, allocations: 11.89 kB / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.347, allocations: 162.3 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.347, allocations: 7.875 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.347, allocations: 0 / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.347, allocations: 0 / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.3476, allocations: 462.3 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3477, allocations: 0 / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.3478, allocations: 15.94 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3478, allocations: 0 / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3478, allocations: 11.98 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3478, allocations: 0 / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3478, allocations: 7.938 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3481, allocations: 246.9 kB / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.3482, allocations: 84.95 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3482, allocations: 4 kB / 1.08 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3483, allocations: 11.98 kB / 1.08 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3484, allocations: 19.92 kB / 1.08 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3484, allocations: 4 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.3485, allocations: 105.5 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3485, allocations: 0 / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003285/0.3488, allocations: 44 kB / 1.081 GB, free: 0.5117 MB / 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.0003543/0.3492, allocations: 160.6 kB / 1.081 GB, free: 368 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3495, allocations: 99.39 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3495, allocations: 0 / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3496, allocations: 59.84 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3499, allocations: 24.25 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.3504, allocations: 251.4 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.3507, allocations: 0.6965 MB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.3507, allocations: 12.42 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.3508, allocations: 11.44 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3508, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.004771/0.3556, allocations: 1.819 MB / 1.084 GB, free: 13.35 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)