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/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.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.655/4.655, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.114e-05, allocations: 3.109 kB / 0.5325 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 98.74 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/0.5498, allocations: 126 MB / 0.7519 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.5502, allocations: 79.94 kB / 0.752 GB, free: 10.93 MB / 0.6355 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.01523/0.5655, allocations: 3.092 MB / 0.755 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5656, allocations: 3.938 kB / 0.755 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.5656, allocations: 0 / 0.755 GB, free: 7.824 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.0008696/0.5665, allocations: 457.6 kB / 0.7555 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.5666, allocations: 12.02 kB / 0.7555 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.5666, allocations: 15.86 kB / 0.7555 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.5668, allocations: 171 kB / 0.7556 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.5668, allocations: 4 kB / 0.7556 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.5669, allocations: 4 kB / 0.7557 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001448/0.567, allocations: 35.92 kB / 0.7557 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5672, allocations: 61.66 kB / 0.7557 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5672, allocations: 0 / 0.7557 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.5673, allocations: 0 / 0.7557 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5673, allocations: 3.953 kB / 0.7558 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008084/0.5681, allocations: 305.9 kB / 0.756 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.5683, allocations: 58.55 kB / 0.7561 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.5684, allocations: 36.78 kB / 0.7561 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.5684, allocations: 0 / 0.7561 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.5687, allocations: 79.38 kB / 0.7562 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.5687, allocations: 0 / 0.7562 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003999/0.5691, allocations: 113.5 kB / 0.7563 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.5691, allocations: 59.39 kB / 0.7564 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5693, allocations: 113 kB / 0.7565 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.5693, allocations: 25.7 kB / 0.7565 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.5694, allocations: 92.38 kB / 0.7566 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.5695, allocations: 27.8 kB / 0.7566 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.5695, allocations: 0 / 0.7566 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5696, allocations: 322.8 kB / 0.7569 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.5697, allocations: 16 kB / 0.7569 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.5698, allocations: 65.58 kB / 0.757 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.808e-05/0.5699, allocations: 27.98 kB / 0.757 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5699, allocations: 0 / 0.757 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002848/0.5702, allocations: 105.4 kB / 0.7571 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5703, allocations: 4 kB / 0.7571 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5703, allocations: 4 kB / 0.7571 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5703, allocations: 0 / 0.7571 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.5705, allocations: 20.2 kB / 0.7572 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.5706, allocations: 7.953 kB / 0.7572 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.5707, allocations: 15.89 kB / 0.7572 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.5708, allocations: 11.98 kB / 0.7572 GB, free: 5.359 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.0001149/0.5709, allocations: 112.4 kB / 0.7573 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002986/0.5712, allocations: 105.7 kB / 0.7574 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.5712, allocations: 12 kB / 0.7574 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.5716, allocations: 134 kB / 0.7575 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5717, allocations: 3.953 kB / 0.7575 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.5717, allocations: 8 kB / 0.7576 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5717, allocations: 0 / 0.7576 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.5724, allocations: 379 kB / 0.7579 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5724, allocations: 7.922 kB / 0.7579 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5726, allocations: 12 kB / 0.7579 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.5726, allocations: 3.953 kB / 0.7579 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.5726, allocations: 7.984 kB / 0.7579 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5726, allocations: 0 / 0.7579 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5727, allocations: 0 / 0.7579 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.573, allocations: 203.4 kB / 0.7581 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.5731, allocations: 89 kB / 0.7582 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.5732, allocations: 3.953 kB / 0.7582 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.5734, allocations: 19.98 kB / 0.7582 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.5734, allocations: 7.984 kB / 0.7583 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.5735, allocations: 4 kB / 0.7583 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001046/0.5736, allocations: 103.5 kB / 0.7584 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.595e-06/0.5736, allocations: 0 / 0.7584 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004865/0.5741, allocations: 47.94 kB / 0.7584 GB, free: 4.031 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.001041/0.5751, allocations: 0.8087 MB / 0.7592 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.5754, allocations: 76.05 kB / 0.7593 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5754, allocations: 3.938 kB / 0.7593 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.5756, allocations: 32 kB / 0.7593 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.5759, allocations: 15.94 kB / 0.7593 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.5767, allocations: 185.7 kB / 0.7595 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.577, allocations: 0.6963 MB / 0.7602 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.617e-05/0.5771, allocations: 12.42 kB / 0.7602 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.5772, allocations: 27.42 kB / 0.7602 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.5772, allocations: 0 / 0.7602 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.6209, allocations: 2.599 MB / 0.7627 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/0.6213, allocations: 190 kB / 0.7629 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.231, allocations: 0 / 0.7629 GB, free: 15.32 MB / 0.6511 GB