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.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadModel(Buildings): time 3.93/3.93, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.688e-05, allocations: 0 / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5355, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.7346, allocations: 126 MB / 0.7519 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.7349, allocations: 83.94 kB / 0.752 GB, free: 1.508 MB / 0.6198 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.01314/0.7481, allocations: 3.09 MB / 0.755 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.701e-06/0.7481, allocations: 0 / 0.755 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.7481, allocations: 4 kB / 0.755 GB, free: 14.41 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.0006757/0.7488, allocations: 449.7 kB / 0.7555 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.7488, allocations: 12.02 kB / 0.7555 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.7489, allocations: 19.8 kB / 0.7555 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.7491, allocations: 179 kB / 0.7557 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.7491, allocations: 4 kB / 0.7557 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.7492, allocations: 4 kB / 0.7557 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001229/0.7493, allocations: 27.98 kB / 0.7557 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.7495, allocations: 61.66 kB / 0.7558 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7495, allocations: 3.938 kB / 0.7558 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.7495, allocations: 4 kB / 0.7558 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.7495, allocations: 0 / 0.7558 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.7502, allocations: 305.2 kB / 0.7561 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.7503, allocations: 54.58 kB / 0.7561 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.7504, allocations: 28.84 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.7505, allocations: 0 / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.7507, allocations: 89.7 kB / 0.7562 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.521e-06/0.7507, allocations: 0 / 0.7562 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003346/0.751, allocations: 105.5 kB / 0.7563 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.7511, allocations: 71.31 kB / 0.7564 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.7512, allocations: 117 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.7513, allocations: 25.7 kB / 0.7565 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.7514, allocations: 84.38 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.7514, allocations: 31.59 kB / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.7514, allocations: 0 / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.7516, allocations: 322.8 kB / 0.7569 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.7517, allocations: 20 kB / 0.757 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.7518, allocations: 57.14 kB / 0.757 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.912e-05/0.7519, allocations: 27.98 kB / 0.757 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7519, allocations: 0 / 0.757 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002566/0.7521, allocations: 113.4 kB / 0.7572 GB, free: 12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7522, allocations: 5.031 kB / 0.7572 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.078e-06/0.7522, allocations: 7.938 kB / 0.7572 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7522, allocations: 0 / 0.7572 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.7524, allocations: 19.92 kB / 0.7572 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.7524, allocations: 12.11 kB / 0.7572 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.7525, allocations: 19.84 kB / 0.7572 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.7526, allocations: 4 kB / 0.7572 GB, free: 11.93 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.0001026/0.7527, allocations: 107.7 kB / 0.7573 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.7527, allocations: 7.906 kB / 0.7573 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.7531, allocations: 130.1 kB / 0.7575 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.329e-06/0.7531, allocations: 7.984 kB / 0.7575 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7531, allocations: 0 / 0.7575 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.997e-06/0.7531, allocations: 0 / 0.7575 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.7538, allocations: 387.1 kB / 0.7578 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-06/0.7538, allocations: 3.938 kB / 0.7578 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.7539, allocations: 8 kB / 0.7578 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.486e-06/0.7539, allocations: 7.984 kB / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.754, allocations: 4 kB / 0.7579 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.754, allocations: 0 / 0.7579 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.783e-06/0.754, allocations: 3.953 kB / 0.7579 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.7543, allocations: 211.4 kB / 0.7581 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.7544, allocations: 85.02 kB / 0.7581 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.7545, allocations: 4 kB / 0.7581 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.7546, allocations: 19.98 kB / 0.7582 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.7547, allocations: 7.984 kB / 0.7582 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.7547, allocations: 7.953 kB / 0.7582 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.769e-05/0.7548, allocations: 95.27 kB / 0.7583 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.58e-07/0.7548, allocations: 3.938 kB / 0.7583 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004391/0.7553, allocations: 47.94 kB / 0.7583 GB, free: 10.72 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.0004245/0.7557, allocations: 174.2 kB / 0.7585 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.7559, allocations: 67.88 kB / 0.7586 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.557e-06/0.756, allocations: 0 / 0.7586 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.7561, allocations: 39.92 kB / 0.7586 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.7563, allocations: 16.23 kB / 0.7586 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.7568, allocations: 124.5 kB / 0.7587 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.7571, allocations: 0.7041 MB / 0.7594 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.7572, allocations: 4.438 kB / 0.7594 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.7573, allocations: 19.42 kB / 0.7594 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/0.7573, allocations: 0 / 0.7594 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of Templates: time 0.005766/0.7631, allocations: 1.768 MB / 0.7612 GB, free: 7.766 MB / 0.6355 GB