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.Love1998Light2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.661/4.661, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.474e-05, allocations: 0 / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6459, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.8837, allocations: 126 MB / 0.7519 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.884, allocations: 75.95 kB / 0.752 GB, free: 1.504 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.0149/0.899, allocations: 3.086 MB / 0.755 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.899, allocations: 4 kB / 0.755 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.899, allocations: 0 / 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.0009212/0.9, allocations: 461.6 kB / 0.7555 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.9001, allocations: 12.03 kB / 0.7555 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.9001, allocations: 15.8 kB / 0.7555 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.9003, allocations: 167 kB / 0.7556 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.9004, allocations: 8 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.9004, allocations: 4 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001535/0.9006, allocations: 31.98 kB / 0.7557 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.9008, allocations: 65.59 kB / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9008, allocations: 0 / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.9008, allocations: 3.984 kB / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.9008, allocations: 0 / 0.7557 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/0.9017, allocations: 315.5 kB / 0.756 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.9019, allocations: 58.59 kB / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.9021, allocations: 28.86 kB / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.9021, allocations: 0 / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.9024, allocations: 79.38 kB / 0.7562 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.9024, allocations: 0 / 0.7562 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004233/0.9028, allocations: 117.5 kB / 0.7563 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.9029, allocations: 55.41 kB / 0.7564 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.903, allocations: 109 kB / 0.7565 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.9031, allocations: 29.7 kB / 0.7565 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.9031, allocations: 88.38 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.9032, allocations: 27.64 kB / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.9032, allocations: 4 kB / 0.7566 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9034, allocations: 318.8 kB / 0.7569 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.9035, allocations: 19.98 kB / 0.7569 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.9036, allocations: 57.16 kB / 0.757 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.9037, allocations: 31.92 kB / 0.757 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9037, allocations: 0 / 0.757 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002787/0.904, allocations: 101.5 kB / 0.7571 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.9041, allocations: 4.094 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.9041, allocations: 7.938 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9041, allocations: 0 / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.9043, allocations: 19.92 kB / 0.7572 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.9044, allocations: 8.125 kB / 0.7572 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.9045, allocations: 23.78 kB / 0.7572 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.9046, allocations: 15.98 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.0001177/0.9047, allocations: 108.9 kB / 0.7573 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003017/0.905, allocations: 101.7 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.9051, allocations: 7.906 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.9055, allocations: 134.1 kB / 0.7575 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9055, allocations: 3.953 kB / 0.7575 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9055, allocations: 4 kB / 0.7575 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.9055, allocations: 3.984 kB / 0.7575 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.9063, allocations: 391.1 kB / 0.7579 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.9063, allocations: 0 / 0.7579 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.9064, allocations: 8 kB / 0.7579 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.9064, allocations: 4 kB / 0.7579 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.9065, allocations: 11.94 kB / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.9065, allocations: 0 / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.9065, allocations: 0 / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.9068, allocations: 207.4 kB / 0.7581 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.9069, allocations: 85.02 kB / 0.7582 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.9069, allocations: 4.031 kB / 0.7582 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.9071, allocations: 23.94 kB / 0.7582 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.9072, allocations: 11.97 kB / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.9072, allocations: 4 kB / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.9073, allocations: 96.02 kB / 0.7584 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9073, allocations: 4 kB / 0.7584 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004687/0.9078, allocations: 40 kB / 0.7584 GB, free: 10.61 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.001011/0.9088, allocations: 0.82 MB / 0.7592 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.9091, allocations: 67.92 kB / 0.7593 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9091, allocations: 4.25 kB / 0.7593 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.9092, allocations: 35.98 kB / 0.7593 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.9096, allocations: 11.95 kB / 0.7593 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/0.9103, allocations: 181.7 kB / 0.7595 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.9106, allocations: 0.7041 MB / 0.7602 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.7e-05/0.9107, allocations: 8.438 kB / 0.7602 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.9108, allocations: 27.42 kB / 0.7602 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/0.9108, allocations: 0 / 0.7602 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04282/0.9536, allocations: 2.602 MB / 0.7627 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003611/0.9541, allocations: 188.5 kB / 0.7629 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.592, allocations: 32 / 0.7629 GB, free: 5.887 MB / 0.6355 GB