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.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004348/0.004352, allocations: 240.5 kB / 15.81 MB, free: 6.281 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.001199/0.001199, allocations: 182.6 kB / 16.69 MB, free: 5.449 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.798/3.798, allocations: 389.1 MB / 406.5 MB, free: 6.812 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.499/4.499, allocations: 472.3 MB / 0.9023 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 16 kB / 1.008 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 98.7 MB / 1.105 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002292/0.21, allocations: 1.234 MB / 1.106 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.212, allocations: 0.7493 MB / 1.107 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.2121, allocations: 4 kB / 1.107 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.2121, allocations: 3.938 kB / 1.107 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.2123, allocations: 15.86 kB / 1.107 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.2129, allocations: 103.7 kB / 1.107 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2131, allocations: 83.7 kB / 1.107 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2132, allocations: 11.98 kB / 1.107 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.2134, allocations: 47.77 kB / 1.107 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2135, allocations: 43.77 kB / 1.107 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2135, allocations: 4 kB / 1.107 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.2138, allocations: 79.91 kB / 1.107 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.2139, allocations: 23.91 kB / 1.107 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.2139, allocations: 41.64 kB / 1.107 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2142, allocations: 108 kB / 1.107 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.2142, allocations: 0 / 1.107 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2142, allocations: 3.938 kB / 1.107 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2143, allocations: 0 / 1.107 GB, free: 1.363 MB / 0.7448 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.001037/0.2153, allocations: 0.4884 MB / 1.108 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.2154, allocations: 8.031 kB / 1.108 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.2154, allocations: 15.81 kB / 1.108 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.2156, allocations: 181.7 kB / 1.108 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.2157, allocations: 8 kB / 1.108 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.2157, allocations: 4 kB / 1.108 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.216, allocations: 81.58 kB / 1.108 GB, free: 484 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.216, allocations: 0 / 1.108 GB, free: 484 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.2161, allocations: 8 kB / 1.108 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2161, allocations: 0 / 1.108 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.2163, allocations: 55.95 kB / 1.108 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.2172, allocations: 340.6 kB / 1.108 GB, free: 28 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.2176, allocations: 78.67 kB / 1.108 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.2178, allocations: 40.84 kB / 1.108 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.2178, allocations: 3.984 kB / 1.108 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.2182, allocations: 111.3 kB / 1.108 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 3.837e-06/0.2182, allocations: 0 / 1.108 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.0006883/0.2189, allocations: 185.4 kB / 1.109 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2189, allocations: 55.41 kB / 1.109 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2191, allocations: 145.7 kB / 1.109 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.2192, allocations: 33.7 kB / 1.109 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.2193, allocations: 96.14 kB / 1.109 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.2193, allocations: 27.64 kB / 1.109 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.2193, allocations: 4 kB / 1.109 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2195, allocations: 322.8 kB / 1.109 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2197, allocations: 27.98 kB / 1.109 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2199, allocations: 76.72 kB / 1.109 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.22, allocations: 36 kB / 1.109 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.22, allocations: 0 / 1.109 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004441/0.2205, allocations: 149.3 kB / 1.11 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.2205, allocations: 7.984 kB / 1.11 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2206, allocations: 4 kB / 1.11 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2206, allocations: 7.891 kB / 1.11 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.2208, allocations: 23.92 kB / 1.11 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2208, allocations: 0 / 1.11 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.221, allocations: 23.92 kB / 1.11 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.221, allocations: 8.094 kB / 1.11 GB, free: 14.5 MB / 0.7605 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.0001428/0.2212, allocations: 116.7 kB / 1.11 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.2212, allocations: 11.91 kB / 1.11 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.2219, allocations: 178.2 kB / 1.11 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.2219, allocations: 3.953 kB / 1.11 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2219, allocations: 4 kB / 1.11 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.222, allocations: 85.02 kB / 1.11 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.222, allocations: 7.984 kB / 1.11 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2222, allocations: 8 kB / 1.11 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.2223, allocations: 19.97 kB / 1.11 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006322/0.2229, allocations: 240.9 kB / 1.11 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005681/0.2235, allocations: 326.6 kB / 1.111 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001899/0.2237, allocations: 56.34 kB / 1.111 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001092/0.2239, allocations: 114.5 kB / 1.111 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of Backend: time 9.52e-07/0.2239, allocations: 0 / 1.111 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009607/0.2248, allocations: 198.4 kB / 1.111 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of SimCode: time 0.0008758/0.2257, allocations: 0.684 MB / 1.112 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of Templates: time 0.006965/0.2327, allocations: 1.764 MB / 1.113 GB, free: 10.61 MB / 0.7605 GB