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/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.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.923/3.923, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.169e-05, allocations: 8.297 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2523, allocations: 98.71 MB / 0.6347 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.498, allocations: 126.6 MB / 0.7584 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4983, allocations: 87.92 kB / 0.7585 GB, free: 3.047 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.01381/0.5121, allocations: 3.112 MB / 0.7615 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.955e-06/0.5122, allocations: 0 / 0.7615 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5122, allocations: 4 kB / 0.7615 GB, free: 15.93 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.0007278/0.5129, allocations: 453.6 kB / 0.7619 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.513, allocations: 12.03 kB / 0.762 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.5131, allocations: 11.86 kB / 0.762 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.5133, allocations: 167 kB / 0.7621 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.5133, allocations: 4 kB / 0.7621 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.5133, allocations: 15.92 kB / 0.7621 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.5135, allocations: 61.67 kB / 0.7622 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.097e-06/0.5135, allocations: 0 / 0.7622 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5136, allocations: 4 kB / 0.7622 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-06/0.5136, allocations: 0 / 0.7622 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.5137, allocations: 31.92 kB / 0.7622 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.5144, allocations: 340.7 kB / 0.7626 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.5146, allocations: 54.56 kB / 0.7626 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.5147, allocations: 36.94 kB / 0.7627 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.5148, allocations: 11.88 kB / 0.7627 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.515, allocations: 83.28 kB / 0.7627 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.91e-06/0.515, allocations: 4 kB / 0.7627 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003345/0.5154, allocations: 113.5 kB / 0.7629 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.5154, allocations: 59.39 kB / 0.7629 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.5156, allocations: 117 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.5156, allocations: 37.7 kB / 0.7631 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.5157, allocations: 84.38 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.5158, allocations: 23.86 kB / 0.7632 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.5158, allocations: 4 kB / 0.7632 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.516, allocations: 322.8 kB / 0.7635 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.5161, allocations: 16 kB / 0.7635 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.5162, allocations: 73.14 kB / 0.7636 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.5163, allocations: 27.91 kB / 0.7636 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.184e-06/0.5163, allocations: 4 kB / 0.7636 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003013/0.5166, allocations: 117.4 kB / 0.7637 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5166, allocations: 4.094 kB / 0.7637 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.59e-06/0.5167, allocations: 12.06 kB / 0.7637 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5167, allocations: 0 / 0.7637 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5169, allocations: 15.98 kB / 0.7637 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5169, allocations: 11.89 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.517, allocations: 15.98 kB / 0.7638 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.5171, allocations: 4 kB / 0.7638 GB, free: 13.37 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.0001124/0.5172, allocations: 119.2 kB / 0.7639 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.5172, allocations: 7.906 kB / 0.7639 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.5176, allocations: 150 kB / 0.764 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.29e-06/0.5176, allocations: 4 kB / 0.764 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-06/0.5177, allocations: 0 / 0.764 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.403e-06/0.5177, allocations: 3.953 kB / 0.764 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007306/0.5184, allocations: 406.5 kB / 0.7644 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-06/0.5184, allocations: 3.938 kB / 0.7644 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5186, allocations: 12 kB / 0.7644 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.5186, allocations: 3.938 kB / 0.7644 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.5186, allocations: 11.94 kB / 0.7645 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.061e-06/0.5186, allocations: 0 / 0.7645 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-06/0.5186, allocations: 0 / 0.7645 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.519, allocations: 211.4 kB / 0.7647 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.5191, allocations: 89.02 kB / 0.7647 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.5191, allocations: 0 / 0.7647 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5193, allocations: 15.94 kB / 0.7648 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.5194, allocations: 11.98 kB / 0.7648 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.5194, allocations: 7.938 kB / 0.7648 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.972e-05/0.5195, allocations: 95.27 kB / 0.7649 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.6e-07/0.5195, allocations: 0 / 0.7649 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004671/0.52, allocations: 55.94 kB / 0.7649 GB, free: 12.08 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.0004545/0.5204, allocations: 182.3 kB / 0.7651 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.5207, allocations: 72.25 kB / 0.7652 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.292e-06/0.5207, allocations: 0 / 0.7652 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.5209, allocations: 48.11 kB / 0.7652 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.5212, allocations: 21.5 kB / 0.7652 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.5216, allocations: 133.2 kB / 0.7654 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.522, allocations: 0.7004 MB / 0.766 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.586e-05/0.5221, allocations: 8.438 kB / 0.766 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.5222, allocations: 19.42 kB / 0.7661 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of SimCode: time 1.591e-06/0.5222, allocations: 0 / 0.7661 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of Templates: time 0.006231/0.5284, allocations: 1.797 MB / 0.7678 GB, free: 9.07 MB / 0.6511 GB