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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01564/0.01564, allocations: 107.7 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00176/0.00176, allocations: 183.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.127/2.127, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.623/2.623, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004669, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7296, allocations: 98.7 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2498/0.9795, allocations: 126.7 MB / 0.8072 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/0.9799, allocations: 87.95 kB / 0.8072 GB, free: 15.39 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.01532/0.9953, allocations: 3.104 MB / 0.8103 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9953, allocations: 0 / 0.8103 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.9954, allocations: 4 kB / 0.8103 GB, free: 12.27 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.0009783/0.9963, allocations: 482.3 kB / 0.8107 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.9964, allocations: 16.02 kB / 0.8107 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.002e-05/0.9965, allocations: 34.56 kB / 0.8108 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.9965, allocations: 11.86 kB / 0.8108 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.9967, allocations: 182.9 kB / 0.811 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.9968, allocations: 37.62 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.9969, allocations: 7.938 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.9972, allocations: 77.64 kB / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9972, allocations: 0 / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.9973, allocations: 0 / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9973, allocations: 0 / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.9976, allocations: 67.89 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.9985, allocations: 328.8 kB / 0.8115 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.9989, allocations: 78.53 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.9989, allocations: 0 / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.9993, allocations: 95.39 kB / 0.8116 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.9994, allocations: 4 kB / 0.8116 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0007972/1, allocations: 173.4 kB / 0.8118 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1, allocations: 59.34 kB / 0.8119 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/1, allocations: 126.7 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/1, allocations: 25.7 kB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/1.001, allocations: 96.38 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/1.001, allocations: 27.64 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/1.001, allocations: 4 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.001, allocations: 322.8 kB / 0.8124 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/1.001, allocations: 23.98 kB / 0.8125 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/1.001, allocations: 77.12 kB / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/1.001, allocations: 35.92 kB / 0.8126 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.001, allocations: 384 / 0.8126 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005229/1.002, allocations: 149.4 kB / 0.8127 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.002, allocations: 5.406 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.002, allocations: 0 / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.002, allocations: 11.89 kB / 0.8127 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/1.002, allocations: 15.98 kB / 0.8127 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.002, allocations: 4 kB / 0.8127 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/1.002, allocations: 16.11 kB / 0.8128 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/1.003, allocations: 8 kB / 0.8128 GB, free: 9.457 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 () * Number of clocked 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.0001508/1.003, allocations: 124.5 kB / 0.8129 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/1.003, allocations: 7.906 kB / 0.8129 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/1.003, allocations: 12.7 kB / 0.8129 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.003, allocations: 4 kB / 0.8129 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.003, allocations: 3.953 kB / 0.8129 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.003, allocations: 4 kB / 0.8129 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.004, allocations: 426.5 kB / 0.8133 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.004, allocations: 0 / 0.8133 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/1.004, allocations: 23.92 kB / 0.8133 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/1.004, allocations: 3.953 kB / 0.8133 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.004, allocations: 7.984 kB / 0.8134 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.004, allocations: 0 / 0.8134 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.004, allocations: 0 / 0.8134 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/1.005, allocations: 231.3 kB / 0.8136 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/1.005, allocations: 85 kB / 0.8137 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/1.005, allocations: 11.95 kB / 0.8137 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/1.005, allocations: 11.98 kB / 0.8137 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/1.005, allocations: 16.02 kB / 0.8137 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/1.005, allocations: 4 kB / 0.8137 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.783e-05/1.005, allocations: 107.2 kB / 0.8138 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.005, allocations: 0 / 0.8138 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004786/1.006, allocations: 52 kB / 0.8138 GB, free: 8.242 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) * Number of clocked states: 0 () * 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.001348/1.007, allocations: 0.8395 MB / 0.8147 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005006/1.008, allocations: 95.81 kB / 0.8148 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.008, allocations: 0 / 0.8148 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/1.008, allocations: 44.23 kB / 0.8148 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/1.008, allocations: 19.94 kB / 0.8148 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/1.01, allocations: 1.23 MB / 0.816 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/1.01, allocations: 0.6965 MB / 0.8167 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001069/1.01, allocations: 8.672 kB / 0.8167 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/1.01, allocations: 27.42 kB / 0.8167 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/1.01, allocations: 0 / 0.8167 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/1.039, allocations: 2.889 MB / 0.8196 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003563/1.039, allocations: 232.8 kB / 0.8198 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.661, allocations: 0 / 0.8198 GB, free: 2.164 MB / 0.6355 GB