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.Love1998Light1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.604/4.604, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.307e-05, allocations: 3.844 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2245, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.5884, allocations: 126.6 MB / 0.7584 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004195/0.5889, allocations: 83.94 kB / 0.7585 GB, free: 3.012 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.04051/0.6294, allocations: 3.102 MB / 0.7615 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.88e-06/0.6295, allocations: 4 kB / 0.7615 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6295, 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.001056/0.6306, allocations: 461.6 kB / 0.7619 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.6306, allocations: 12.03 kB / 0.762 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.6307, allocations: 42.55 kB / 0.762 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.6308, allocations: 11.86 kB / 0.762 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.631, allocations: 163.1 kB / 0.7622 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.6311, allocations: 4 kB / 0.7622 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.6311, allocations: 11.98 kB / 0.7622 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.6314, allocations: 65.59 kB / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6314, allocations: 0 / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.6315, allocations: 4 kB / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6315, allocations: 4 kB / 0.7622 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.6317, allocations: 35.92 kB / 0.7623 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.6328, allocations: 340.5 kB / 0.7626 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.633, allocations: 62.56 kB / 0.7627 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.6332, allocations: 24.86 kB / 0.7627 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.6332, allocations: 11.94 kB / 0.7627 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/0.6336, allocations: 83.41 kB / 0.7628 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 3.257e-06/0.6336, allocations: 0 / 0.7628 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.001386/0.635, allocations: 113.5 kB / 0.7629 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.6351, allocations: 63.34 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.6353, allocations: 121 kB / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.6354, allocations: 25.7 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.6355, allocations: 96.36 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.6355, allocations: 23.86 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.6355, allocations: 0 / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.6357, allocations: 322.8 kB / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.6358, allocations: 20 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.6359, allocations: 61.14 kB / 0.7636 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.6361, allocations: 27.98 kB / 0.7636 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6361, allocations: 0 / 0.7636 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003498/0.6365, allocations: 121.4 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6365, allocations: 9.062 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6365, allocations: 4 kB / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6365, allocations: 0 / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.6368, allocations: 23.88 kB / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.6368, allocations: 4 kB / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.637, allocations: 15.89 kB / 0.7638 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.6371, allocations: 8 kB / 0.7638 GB, free: 13.29 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.0001294/0.6372, allocations: 120.9 kB / 0.7639 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.6373, allocations: 4 kB / 0.7639 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.6377, allocations: 138.1 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6377, allocations: 0 / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6378, allocations: 8.047 kB / 0.7641 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.6378, allocations: 12 kB / 0.7641 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008776/0.6387, allocations: 406.5 kB / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6387, allocations: 0 / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.6388, allocations: 11.98 kB / 0.7645 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.6389, allocations: 7.938 kB / 0.7645 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.6389, allocations: 7.953 kB / 0.7645 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.6389, allocations: 4 kB / 0.7645 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6389, allocations: 0 / 0.7645 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.6393, allocations: 215.4 kB / 0.7647 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.6394, allocations: 85.02 kB / 0.7648 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.6395, allocations: 7.984 kB / 0.7648 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.6397, allocations: 11.95 kB / 0.7648 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.6397, allocations: 7.984 kB / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.6398, allocations: 11.98 kB / 0.7648 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.886e-05/0.6399, allocations: 91.28 kB / 0.7649 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6399, allocations: 0 / 0.7649 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004816/0.6404, allocations: 59.92 kB / 0.7649 GB, free: 12 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.001108/0.6415, allocations: 0.8233 MB / 0.7658 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.6418, allocations: 79.86 kB / 0.7658 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6418, allocations: 0 / 0.7658 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.642, allocations: 43.94 kB / 0.7659 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6423, allocations: 11.94 kB / 0.7659 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.6431, allocations: 188.4 kB / 0.7661 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.6435, allocations: 0.7007 MB / 0.7667 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.491e-05/0.6436, allocations: 8.422 kB / 0.7668 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.6437, allocations: 31.42 kB / 0.7668 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.183e-06/0.6437, allocations: 0 / 0.7668 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.6672, allocations: 2.931 MB / 0.7696 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/0.6676, allocations: 201.4 kB / 0.7698 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.166, allocations: 0 / 0.7698 GB, free: 6.973 MB / 0.6511 GB