Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01697/0.01697, allocations: 107.6 kB / 15.05 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001864/0.001864, allocations: 184 kB / 15.94 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.222/2.222, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.427/2.427, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006551, allocations: 15.98 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7717, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/1.012, allocations: 126.8 MB / 0.8073 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005007/1.012, allocations: 79.95 kB / 0.8073 GB, free: 15.3 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.02464/1.037, allocations: 3.217 MB / 0.8105 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.026e-06/1.037, allocations: 0 / 0.8105 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.044e-05/1.037, allocations: 4 kB / 0.8105 GB, free: 12.08 MB / 0.6355 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.001408/1.039, allocations: 496.1 kB / 0.8109 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/1.039, allocations: 12.03 kB / 0.811 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.715e-05/1.039, allocations: 38.48 kB / 0.811 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/1.039, allocations: 11.86 kB / 0.811 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/1.039, allocations: 174.9 kB / 0.8112 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/1.039, allocations: 7.984 kB / 0.8112 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/1.039, allocations: 8 kB / 0.8112 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/1.04, allocations: 81.64 kB / 0.8113 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/1.04, allocations: 0 / 0.8113 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/1.04, allocations: 3.938 kB / 0.8113 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/1.04, allocations: 7.938 kB / 0.8113 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/1.04, allocations: 51.97 kB / 0.8113 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/1.041, allocations: 332.7 kB / 0.8116 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/1.042, allocations: 90.69 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/1.042, allocations: 4 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004582/1.043, allocations: 95.36 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 4.348e-06/1.043, allocations: 0 / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001064/1.044, allocations: 185.8 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/1.044, allocations: 55.34 kB / 0.8121 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/1.044, allocations: 138.1 kB / 0.8122 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/1.044, allocations: 25.7 kB / 0.8122 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.044, allocations: 92.14 kB / 0.8123 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/1.044, allocations: 27.84 kB / 0.8123 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/1.044, allocations: 4 kB / 0.8123 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001958/1.045, allocations: 322.8 kB / 0.8126 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/1.045, allocations: 27.98 kB / 0.8127 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/1.045, allocations: 78.95 kB / 0.8127 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/1.045, allocations: 28 kB / 0.8128 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.045, allocations: 3.938 kB / 0.8128 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006631/1.046, allocations: 145.4 kB / 0.8129 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.046, allocations: 8 kB / 0.8129 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.046, allocations: 0 / 0.8129 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/1.046, allocations: 4 kB / 0.8129 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/1.046, allocations: 19.94 kB / 0.8129 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.046, allocations: 4 kB / 0.8129 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.047, allocations: 24.06 kB / 0.813 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/1.047, allocations: 8 kB / 0.813 GB, free: 9.254 MB / 0.6355 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.pulsStart,booleanPulse.pulsStart) * 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.0002315/1.047, allocations: 129.8 kB / 0.8131 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/1.047, allocations: 7.906 kB / 0.8131 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008629/1.048, allocations: 162.3 kB / 0.8133 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.048, allocations: 4 kB / 0.8133 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.048, allocations: 3.953 kB / 0.8133 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.048, allocations: 0 / 0.8133 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/1.05, allocations: 450.3 kB / 0.8137 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.05, allocations: 0 / 0.8137 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/1.05, allocations: 23.94 kB / 0.8137 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.05, allocations: 4 kB / 0.8137 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/1.05, allocations: 11.94 kB / 0.8137 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.05, allocations: 0 / 0.8137 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.05, allocations: 0 / 0.8137 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/1.051, allocations: 243.3 kB / 0.814 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/1.051, allocations: 92.95 kB / 0.8141 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/1.051, allocations: 4 kB / 0.8141 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/1.051, allocations: 15.94 kB / 0.8141 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/1.051, allocations: 11.98 kB / 0.8141 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/1.052, allocations: 7.984 kB / 0.8141 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001414/1.052, allocations: 104.2 kB / 0.8142 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.02e-07/1.052, allocations: 0 / 0.8142 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007561/1.052, allocations: 48 kB / 0.8142 GB, free: 7.848 MB / 0.6355 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.pulsStart) * 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.001805/1.054, allocations: 0.8703 MB / 0.8151 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006164/1.055, allocations: 92.08 kB / 0.8152 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.055, allocations: 0 / 0.8152 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/1.055, allocations: 56.05 kB / 0.8152 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/1.056, allocations: 24.12 kB / 0.8153 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/1.058, allocations: 1.252 MB / 0.8165 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/1.058, allocations: 0.7004 MB / 0.8172 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001558/1.059, allocations: 8.438 kB / 0.8172 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.059, allocations: 27.42 kB / 0.8172 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of SimCode: time 4.789e-06/1.059, allocations: 0 / 0.8172 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/1.089, allocations: 3.094 MB / 0.8202 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/1.09, allocations: 237.1 kB / 0.8204 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.858, allocations: 0 / 0.8204 GB, free: 1.492 MB / 0.6355 GB