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.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.57/4.57, allocations: 433.2 MB / 440.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.297e-05, allocations: 6 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 98.74 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/0.4712, allocations: 125.9 MB / 0.7519 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.4716, allocations: 79.95 kB / 0.752 GB, free: 10.91 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.01482/0.4865, allocations: 3.07 MB / 0.755 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4865, allocations: 0 / 0.755 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.4865, allocations: 4 kB / 0.755 GB, free: 7.832 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.00084/0.4874, allocations: 469.6 kB / 0.7554 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4874, allocations: 8.031 kB / 0.7554 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.4875, allocations: 15.86 kB / 0.7554 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.4877, allocations: 171 kB / 0.7556 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.4878, allocations: 33.69 kB / 0.7556 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.4879, allocations: 4 kB / 0.7556 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001375/0.488, allocations: 28 kB / 0.7557 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.4882, allocations: 65.59 kB / 0.7557 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4882, allocations: 8 kB / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.4882, allocations: 3.984 kB / 0.7557 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.4883, allocations: 3.953 kB / 0.7557 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.4891, allocations: 309.2 kB / 0.756 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.4892, allocations: 63.17 kB / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.4893, allocations: 24.86 kB / 0.7561 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.4894, allocations: 3.984 kB / 0.7561 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.4896, allocations: 91.55 kB / 0.7562 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.166e-06/0.4896, allocations: 3.938 kB / 0.7562 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003789/0.49, allocations: 105.5 kB / 0.7563 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.4901, allocations: 59.41 kB / 0.7564 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4902, allocations: 117.2 kB / 0.7565 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.4903, allocations: 33.64 kB / 0.7565 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.4903, allocations: 96.27 kB / 0.7566 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4904, allocations: 15.81 kB / 0.7566 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.4904, allocations: 0 / 0.7566 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4906, allocations: 322.8 kB / 0.7569 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.4906, allocations: 20 kB / 0.7569 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4908, allocations: 69.14 kB / 0.757 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.4909, allocations: 23.98 kB / 0.757 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4909, allocations: 0 / 0.757 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003066/0.4912, allocations: 109.4 kB / 0.7571 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.4912, allocations: 7.984 kB / 0.7571 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4913, allocations: 4 kB / 0.7571 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4913, allocations: 0 / 0.7571 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.4915, allocations: 15.98 kB / 0.7572 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.4916, allocations: 15.88 kB / 0.7572 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.4918, allocations: 19.98 kB / 0.7572 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.4918, allocations: 4.125 kB / 0.7572 GB, free: 5.289 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.0001271/0.492, allocations: 112.9 kB / 0.7573 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003331/0.4923, allocations: 117.5 kB / 0.7574 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.4923, allocations: 7.906 kB / 0.7574 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.4924, allocations: 16.58 kB / 0.7574 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4924, allocations: 0 / 0.7574 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4924, allocations: 0 / 0.7574 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4925, allocations: 0 / 0.7574 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.4933, allocations: 384.7 kB / 0.7578 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4933, allocations: 0 / 0.7578 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.4935, allocations: 7.984 kB / 0.7578 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.4935, allocations: 7.953 kB / 0.7578 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.4935, allocations: 0 / 0.7578 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4935, allocations: 3.938 kB / 0.7578 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4935, allocations: 0 / 0.7578 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.4939, allocations: 207.3 kB / 0.758 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.494, allocations: 88.95 kB / 0.7581 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.494, allocations: 8.031 kB / 0.7581 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.4943, allocations: 15.92 kB / 0.7581 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.4944, allocations: 19.97 kB / 0.7582 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.4944, allocations: 0 / 0.7582 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.603e-05/0.4945, allocations: 103.3 kB / 0.7583 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4945, allocations: 0 / 0.7583 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005039/0.495, allocations: 40 kB / 0.7583 GB, free: 4.078 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 (10): * Single equations (assignments): 7 * 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.001148/0.4962, allocations: 0.8082 MB / 0.7591 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.4965, allocations: 63.92 kB / 0.7591 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4965, allocations: 0 / 0.7591 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4966, allocations: 39.92 kB / 0.7592 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.497, allocations: 15.94 kB / 0.7592 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.4977, allocations: 166.2 kB / 0.7594 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.498, allocations: 0.6963 MB / 0.76 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.134e-05/0.4982, allocations: 8.938 kB / 0.76 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.4983, allocations: 31.44 kB / 0.7601 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.4983, allocations: 3.938 kB / 0.7601 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.54, allocations: 2.589 MB / 0.7626 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/0.5404, allocations: 179.6 kB / 0.7628 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.167, allocations: 3.938 kB / 0.7628 GB, free: 15.4 MB / 0.6511 GB