Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadModel(Buildings): time 3.833/3.833, allocations: 433.4 MB / 440.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.704e-05, allocations: 2.938 kB / 0.5325 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1739, allocations: 98.72 MB / 0.6289 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.3666, allocations: 126 MB / 0.7519 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.3669, allocations: 75.95 kB / 0.752 GB, free: 10.97 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01301/0.3799, allocations: 3.092 MB / 0.755 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.018e-06/0.3799, allocations: 11.94 kB / 0.755 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.416e-06/0.38, allocations: 0 / 0.755 GB, free: 7.852 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007019/0.3807, allocations: 457.6 kB / 0.7555 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3807, allocations: 12.02 kB / 0.7555 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.3808, allocations: 11.86 kB / 0.7555 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.381, allocations: 179 kB / 0.7557 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.381, allocations: 4 kB / 0.7557 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.381, allocations: 4 kB / 0.7557 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.3812, allocations: 31.98 kB / 0.7557 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3813, allocations: 61.61 kB / 0.7558 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.943e-06/0.3813, allocations: 0 / 0.7558 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3814, allocations: 0 / 0.7558 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.921e-06/0.3814, allocations: 3.953 kB / 0.7558 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006471/0.382, allocations: 297.4 kB / 0.7561 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.3822, allocations: 58.56 kB / 0.7561 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.3823, allocations: 24.86 kB / 0.7561 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3823, allocations: 0 / 0.7561 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.3825, allocations: 99.91 kB / 0.7562 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.443e-06/0.3825, allocations: 0 / 0.7562 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003465/0.3829, allocations: 113.5 kB / 0.7563 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3829, allocations: 51.41 kB / 0.7564 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3831, allocations: 113 kB / 0.7565 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.3831, allocations: 25.7 kB / 0.7565 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.3832, allocations: 96.36 kB / 0.7566 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.3833, allocations: 27.8 kB / 0.7566 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.3833, allocations: 4 kB / 0.7566 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3834, allocations: 318.8 kB / 0.757 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.3835, allocations: 16 kB / 0.757 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.3836, allocations: 61.23 kB / 0.757 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.3837, allocations: 27.92 kB / 0.7571 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.352e-06/0.3837, allocations: 0 / 0.7571 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002647/0.384, allocations: 109.4 kB / 0.7572 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.384, allocations: 8 kB / 0.7572 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.028e-06/0.384, allocations: 3.938 kB / 0.7572 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3841, allocations: 4 kB / 0.7572 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3842, allocations: 19.92 kB / 0.7572 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3843, allocations: 3.953 kB / 0.7572 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3844, allocations: 16.11 kB / 0.7572 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.3844, allocations: 4 kB / 0.7572 GB, free: 5.395 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,lig.occ,$PRE.occ.pulsStart,occ.pulsStart) * Number of discrete 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 0.0001017/0.3846, allocations: 111.2 kB / 0.7573 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3846, allocations: 8 kB / 0.7573 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.385, allocations: 138 kB / 0.7575 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-06/0.385, allocations: 4 kB / 0.7575 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.736e-06/0.385, allocations: 4 kB / 0.7575 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.651e-06/0.385, allocations: 3.953 kB / 0.7575 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.3857, allocations: 379 kB / 0.7578 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3857, allocations: 0 / 0.7578 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.3858, allocations: 8 kB / 0.7578 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-06/0.3858, allocations: 4 kB / 0.7578 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3859, allocations: 7.984 kB / 0.7579 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.259e-06/0.3859, allocations: 4 kB / 0.7579 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.711e-06/0.3859, allocations: 3.953 kB / 0.7579 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3862, allocations: 209 kB / 0.7581 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.3863, allocations: 92.94 kB / 0.7581 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3863, allocations: 0 / 0.7581 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.3865, allocations: 11.98 kB / 0.7582 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3866, allocations: 19.88 kB / 0.7582 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3866, allocations: 4 kB / 0.7582 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.756e-05/0.3867, allocations: 108 kB / 0.7583 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.05e-07/0.3867, allocations: 0 / 0.7583 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004736/0.3872, allocations: 43.94 kB / 0.7583 GB, free: 4.172 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulsStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004333/0.3876, allocations: 161.5 kB / 0.7585 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3879, allocations: 71.8 kB / 0.7585 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.476e-06/0.3879, allocations: 0 / 0.7585 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.388, allocations: 47.92 kB / 0.7586 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3883, allocations: 4.688 kB / 0.7586 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.3887, allocations: 132.4 kB / 0.7587 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3891, allocations: 0.6963 MB / 0.7594 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.3892, allocations: 16.59 kB / 0.7594 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.3892, allocations: 11.44 kB / 0.7594 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of SimCode: time 1.407e-06/0.3893, allocations: 0 / 0.7594 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of Templates: time 0.005799/0.3951, allocations: 1.774 MB / 0.7612 GB, free: 1.215 MB / 0.6355 GB