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.Hunt1979Light.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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01069/0.01069, allocations: 220.8 kB / 15.17 MB, free: 6 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.001097/0.001098, allocations: 181 kB / 16.06 MB, free: 5.871 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 3.663/3.663, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.288/4.288, allocations: 472.3 MB / 0.9018 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007794/0.0007796, allocations: 12 kB / 1.008 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6425, allocations: 98.71 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001557/0.6441, allocations: 1.226 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.6454, allocations: 0.719 MB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.6454, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.6455, allocations: 3.938 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.6456, allocations: 19.59 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.646, allocations: 97.2 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6461, allocations: 75.95 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.6462, allocations: 11.84 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.6464, allocations: 36.08 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.6464, allocations: 37.19 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.6465, allocations: 6.625 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.6467, allocations: 87.38 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.6467, allocations: 11.78 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.6468, allocations: 43.3 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.647, allocations: 100.2 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.52e-06/0.647, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.042e-06/0.647, allocations: 1.375 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.436e-06/0.647, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006675/0.6477, allocations: 467.2 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6477, allocations: 9.781 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.6478, allocations: 12.89 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6479, allocations: 175.3 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.648, allocations: 41.45 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.648, allocations: 4.531 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.6483, allocations: 81.42 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-06/0.6483, allocations: 2.156 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.6483, allocations: 2.969 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-06/0.6483, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.6486, allocations: 57.31 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.6492, allocations: 329.4 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.6494, allocations: 74.28 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.6496, allocations: 40.89 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.6496, allocations: 5.531 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/0.6499, allocations: 100.2 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.684e-06/0.65, allocations: 1.031 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0009643/0.6509, allocations: 176.3 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.651, allocations: 60.66 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.6512, allocations: 138.8 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.6512, allocations: 31.08 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.6513, allocations: 88.2 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.6513, allocations: 25.97 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.6514, allocations: 4 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.6514, allocations: 326.3 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.6517, allocations: 32.98 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.6519, allocations: 71.91 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.6522, allocations: 47.92 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.6522, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005705/0.6528, allocations: 136.4 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6528, allocations: 8.719 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.312e-06/0.6529, allocations: 5.297 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6529, allocations: 2.844 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.6531, allocations: 18.34 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6531, allocations: 6.562 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.6532, allocations: 20.66 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.6533, allocations: 10.95 kB / 1.109 GB, free: 209.5 MB / 0.7292 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,occ.y,$PRE.occ.pulsStart,occ.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.237e-05/0.6534, allocations: 115.4 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.6534, allocations: 7.844 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.6535, allocations: 16.7 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-06/0.6535, allocations: 5.297 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.791e-06/0.6535, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.264e-06/0.6535, allocations: 2.719 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/0.6542, allocations: 428.2 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.392e-06/0.6543, allocations: 1.406 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.6544, allocations: 22.09 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-06/0.6544, allocations: 1.031 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.6544, allocations: 4.094 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.953e-06/0.6544, allocations: 1.375 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.411e-06/0.6545, allocations: 2.594 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.6549, allocations: 235.9 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.6549, allocations: 90.27 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.655, allocations: 8.484 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.6551, allocations: 17.53 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.6552, allocations: 7 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.6553, allocations: 8.719 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.6553, allocations: 96.59 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.011e-06/0.6553, allocations: 0 / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005281/0.6559, allocations: 41.73 kB / 1.11 GB, free: 208.6 MB / 0.7292 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0003779/0.6563, allocations: 168.6 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.6567, allocations: 94.48 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.16e-06/0.6567, allocations: 1.375 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.6569, allocations: 52.61 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.6573, allocations: 15.69 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.6579, allocations: 230.8 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.658, allocations: 0.6945 MB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.63e-05/0.6581, allocations: 10.62 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.6582, allocations: 14.83 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.481e-06/0.6582, allocations: 3.938 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.00553/0.6637, allocations: 1.62 MB / 1.113 GB, free: 207.6 MB / 0.7292 GB