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.Reinhart2003Light.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.Reinhart2003Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.602/4.602, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.209e-05, allocations: 2.375 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2657/0.4922, allocations: 126.8 MB / 0.7585 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.4925, allocations: 75.95 kB / 0.7586 GB, free: 2.883 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.01618/0.5087, allocations: 3.259 MB / 0.7618 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5088, allocations: 0 / 0.7618 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.5088, allocations: 4 kB / 0.7618 GB, free: 15.61 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009192/0.5097, allocations: 491.7 kB / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.5098, allocations: 12.03 kB / 0.7622 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.5099, allocations: 34.55 kB / 0.7623 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.5099, allocations: 11.86 kB / 0.7623 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.5101, allocations: 190.8 kB / 0.7625 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.5102, allocations: 4 kB / 0.7625 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.5102, allocations: 11.98 kB / 0.7625 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.5105, allocations: 77.64 kB / 0.7626 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5105, allocations: 0 / 0.7626 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.5105, allocations: 0 / 0.7626 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.5105, allocations: 3.953 kB / 0.7626 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.5107, allocations: 43.92 kB / 0.7626 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.5115, allocations: 332.8 kB / 0.7629 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5118, allocations: 78.66 kB / 0.763 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.5119, allocations: 28.86 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.5119, allocations: 4.156 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.5122, allocations: 103.2 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.424e-06/0.5122, allocations: 7.938 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004451/0.5127, allocations: 125.5 kB / 0.7633 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5127, allocations: 59.41 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.5129, allocations: 130.3 kB / 0.7634 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.513, allocations: 29.7 kB / 0.7635 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.513, allocations: 96.08 kB / 0.7636 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.5131, allocations: 31.55 kB / 0.7636 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.5131, allocations: 4 kB / 0.7636 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5133, allocations: 326.8 kB / 0.7639 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.5134, allocations: 24 kB / 0.7639 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.5135, allocations: 61.14 kB / 0.764 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.5136, allocations: 27.98 kB / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5136, allocations: 4 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000331/0.514, allocations: 129.4 kB / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.514, allocations: 4 kB / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.514, allocations: 7.984 kB / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5141, allocations: 3.938 kB / 0.7642 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.5143, allocations: 19.98 kB / 0.7642 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5143, allocations: 0 / 0.7642 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.5145, allocations: 16.08 kB / 0.7642 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.5145, allocations: 12.14 kB / 0.7642 GB, free: 12.86 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,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001192/0.5147, allocations: 120.8 kB / 0.7643 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.5147, allocations: 19.75 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.5152, allocations: 158.2 kB / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5152, allocations: 0 / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.5152, allocations: 0 / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5153, allocations: 0 / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009355/0.5162, allocations: 458.3 kB / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5162, allocations: 0 / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.5164, allocations: 15.98 kB / 0.7649 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5164, allocations: 0 / 0.7649 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.5165, allocations: 7.984 kB / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.5165, allocations: 7.938 kB / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5165, allocations: 0 / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.517, allocations: 231.4 kB / 0.7652 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.5171, allocations: 84.97 kB / 0.7653 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.5171, allocations: 4 kB / 0.7653 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.5173, allocations: 19.98 kB / 0.7653 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.5174, allocations: 7.984 kB / 0.7653 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.5175, allocations: 11.92 kB / 0.7653 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001095/0.5176, allocations: 113.7 kB / 0.7654 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5176, allocations: 0 / 0.7654 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004818/0.5181, allocations: 59.88 kB / 0.7655 GB, free: 11.46 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulsStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.001172/0.5193, allocations: 0.8509 MB / 0.7663 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.5196, allocations: 79.92 kB / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5197, allocations: 0 / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5198, allocations: 47.94 kB / 0.7664 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.5202, allocations: 16.56 kB / 0.7664 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.5211, allocations: 210.9 kB / 0.7666 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.5214, allocations: 0.7043 MB / 0.7673 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.79e-05/0.5215, allocations: 16.53 kB / 0.7673 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5217, allocations: 31.42 kB / 0.7674 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of SimCode: time 1.262e-06/0.5217, allocations: 4 kB / 0.7674 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.5518, allocations: 3.292 MB / 0.7706 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/0.5522, allocations: 208.6 kB / 0.7708 GB, free: 6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.035, allocations: 0 / 0.7708 GB, free: 6 MB / 0.6511 GB