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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 4.216/4.216, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.791e-05, allocations: 3.438 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.181, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.3943, allocations: 126.6 MB / 0.7584 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.3947, allocations: 83.94 kB / 0.7585 GB, free: 3.016 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.01368/0.4084, allocations: 3.106 MB / 0.7615 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.712e-06/0.4084, allocations: 0 / 0.7615 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.812e-06/0.4084, allocations: 0 / 0.7615 GB, free: 15.9 MB / 0.6511 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.0007222/0.4092, allocations: 459.5 kB / 0.7619 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4092, allocations: 8.031 kB / 0.762 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.4093, allocations: 15.86 kB / 0.762 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.4095, allocations: 171.1 kB / 0.7621 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.4095, allocations: 0 / 0.7621 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.4095, allocations: 8 kB / 0.7621 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4097, allocations: 69.66 kB / 0.7622 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4097, allocations: 0 / 0.7622 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4098, allocations: 7.938 kB / 0.7622 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-06/0.4098, allocations: 0 / 0.7622 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4099, allocations: 32 kB / 0.7622 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.4106, allocations: 336.7 kB / 0.7626 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4108, allocations: 58.61 kB / 0.7626 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.4109, allocations: 36.78 kB / 0.7627 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4109, allocations: 0 / 0.7627 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.4111, allocations: 99.2 kB / 0.7628 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.883e-06/0.4112, allocations: 4 kB / 0.7628 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003296/0.4115, allocations: 117.5 kB / 0.7629 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.4116, allocations: 55.41 kB / 0.7629 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4117, allocations: 121 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4118, allocations: 25.7 kB / 0.7631 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.4118, allocations: 92.38 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.4119, allocations: 27.84 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-06/0.4119, allocations: 0 / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4121, allocations: 322.8 kB / 0.7635 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.4122, allocations: 24 kB / 0.7635 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4123, allocations: 57.09 kB / 0.7636 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.4124, allocations: 27.98 kB / 0.7636 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4124, allocations: 4 kB / 0.7636 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002965/0.4127, allocations: 117.4 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4127, allocations: 8 kB / 0.7637 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.327e-06/0.4128, allocations: 0 / 0.7637 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4128, allocations: 4 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.4129, allocations: 19.92 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.413, allocations: 7.938 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4131, allocations: 16.12 kB / 0.7638 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.4132, allocations: 8 kB / 0.7638 GB, free: 13.34 MB / 0.6511 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.0001109/0.4133, allocations: 116.9 kB / 0.7639 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.4133, allocations: 7.906 kB / 0.7639 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.4137, allocations: 142 kB / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-06/0.4137, allocations: 0 / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.317e-06/0.4137, allocations: 0 / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-06/0.4137, allocations: 7.953 kB / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.4145, allocations: 414.4 kB / 0.7644 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-06/0.4145, allocations: 96 / 0.7644 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.4146, allocations: 11.94 kB / 0.7644 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.721e-06/0.4146, allocations: 7.984 kB / 0.7644 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4147, allocations: 11.89 kB / 0.7645 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.821e-06/0.4147, allocations: 0 / 0.7645 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4147, allocations: 4 kB / 0.7645 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.415, allocations: 211.4 kB / 0.7647 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.4151, allocations: 84.95 kB / 0.7647 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.4152, allocations: 8 kB / 0.7647 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.4153, allocations: 15.94 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.4154, allocations: 7.984 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.4154, allocations: 12 kB / 0.7648 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.846e-05/0.4155, allocations: 95.27 kB / 0.7649 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.49e-07/0.4156, allocations: 0 / 0.7649 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000459/0.416, allocations: 51.94 kB / 0.7649 GB, free: 12.05 MB / 0.6511 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.000435/0.4165, allocations: 186.3 kB / 0.7651 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.4167, allocations: 75.86 kB / 0.7652 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.477e-06/0.4168, allocations: 0 / 0.7652 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.4169, allocations: 43.94 kB / 0.7652 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.4172, allocations: 11.98 kB / 0.7652 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.4176, allocations: 131.2 kB / 0.7653 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.418, allocations: 0.7007 MB / 0.766 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.431e-05/0.4181, allocations: 8.438 kB / 0.766 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.4182, allocations: 15.42 kB / 0.7661 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.634e-06/0.4182, allocations: 0 / 0.7661 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.006066/0.4243, allocations: 1.814 MB / 0.7678 GB, free: 9.035 MB / 0.6511 GB