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.01055/0.01055, allocations: 225 kB / 15.18 MB, free: 5.926 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.001108/0.001108, allocations: 180.1 kB / 16.06 MB, free: 5.828 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.817/3.817, allocations: 389.1 MB / 405.9 MB, free: 13.36 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.443/4.443, allocations: 472.3 MB / 0.9018 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.000504, allocations: 12 kB / 1.008 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5707, allocations: 98.71 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001552/0.5723, allocations: 1.239 MB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.5736, allocations: 0.7293 MB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.5737, allocations: 1.844 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.5737, allocations: 7.781 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.5738, allocations: 24.39 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.5743, allocations: 100.3 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.5744, allocations: 87.12 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.5745, allocations: 10.88 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.5746, allocations: 42.95 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.5747, allocations: 36.34 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.5748, allocations: 4.188 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.575, allocations: 88.2 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.575, allocations: 20.42 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.5751, allocations: 38.89 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.5753, allocations: 104.1 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5753, allocations: 1.375 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.422e-06/0.5753, allocations: 3.469 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5753, allocations: 0 / 1.106 GB, free: 211.6 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006758/0.576, allocations: 0.4924 MB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5761, allocations: 10 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.5761, allocations: 22.28 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.5763, allocations: 173.8 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.5763, allocations: 7.547 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.5763, allocations: 4.062 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.5766, allocations: 78.19 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.5766, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.5766, allocations: 10.91 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-06/0.5766, allocations: 7.375 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.5769, allocations: 55.77 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.5775, allocations: 326.7 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.5778, allocations: 87.61 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.5779, allocations: 44.83 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.5779, allocations: 5.922 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.5782, allocations: 104.8 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 3.06e-06/0.5782, allocations: 4.531 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0005993/0.5789, allocations: 188.1 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5789, allocations: 60.88 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.579, allocations: 142.9 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.5791, allocations: 30.8 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.5791, allocations: 95.05 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.5792, allocations: 26.62 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.062e-06/0.5792, allocations: 4 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.5793, allocations: 322.8 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.5794, allocations: 33.55 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.5795, allocations: 69.91 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.5797, allocations: 43.17 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.225e-06/0.5797, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003509/0.58, allocations: 150.7 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5801, allocations: 5.094 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.793e-06/0.5801, allocations: 2.25 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5801, allocations: 2.844 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.5803, allocations: 16.05 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.5803, allocations: 2.688 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.5805, allocations: 17.39 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.5805, allocations: 7.656 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,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 9.898e-05/0.5806, allocations: 126 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.5806, allocations: 15.88 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.5811, allocations: 174.3 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.316e-06/0.5811, allocations: 1.312 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.347e-06/0.5811, allocations: 0 / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.614e-06/0.5812, allocations: 2.984 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.5819, allocations: 481.2 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5819, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.582, allocations: 18.27 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.5821, allocations: 3.359 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.5821, allocations: 5.281 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-06/0.5821, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-06/0.5821, allocations: 0.9062 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.5825, allocations: 253.3 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.5826, allocations: 89.5 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.5826, allocations: 7.234 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.5828, allocations: 13.16 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5829, allocations: 9.922 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.5829, allocations: 7.297 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.583, allocations: 107.2 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.32e-07/0.583, allocations: 3.219 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004433/0.5835, allocations: 43.05 kB / 1.11 GB, free: 208.5 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 (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 (14): * Single equations (assignments): 11 * 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.0003778/0.5838, allocations: 179 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.5842, allocations: 97.62 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.679e-06/0.5842, allocations: 0 / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.5844, allocations: 62.2 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.5849, allocations: 21.5 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.5855, allocations: 267.7 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.5856, allocations: 0.7034 MB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.851e-05/0.5857, allocations: 11.61 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.5858, allocations: 15.7 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.611e-06/0.5858, allocations: 1.156 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.006056/0.5919, allocations: 1.818 MB / 1.113 GB, free: 207.4 MB / 0.7292 GB