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 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.Love1998Light1,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.01673/0.01673, allocations: 106.6 kB / 15.05 MB, free: 5.98 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.001988/0.001988, allocations: 185.5 kB / 15.94 MB, free: 5.938 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.493/2.493, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.581/2.581, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007598/0.0007599, allocations: 8 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6917, allocations: 98.7 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/1.015, allocations: 126.7 MB / 0.8072 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004461/1.016, allocations: 87.94 kB / 0.8073 GB, free: 15.35 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.02037/1.036, allocations: 3.12 MB / 0.8103 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/1.036, allocations: 0 / 0.8103 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.036, allocations: 4 kB / 0.8103 GB, free: 12.22 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.00118/1.038, allocations: 470.4 kB / 0.8108 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/1.038, allocations: 8.031 kB / 0.8108 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.567e-05/1.038, allocations: 42.55 kB / 0.8108 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/1.038, allocations: 11.86 kB / 0.8108 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/1.038, allocations: 174.9 kB / 0.811 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/1.038, allocations: 4 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/1.038, allocations: 8 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/1.039, allocations: 77.58 kB / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.039, allocations: 0 / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.039, allocations: 4 kB / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/1.039, allocations: 3.984 kB / 0.8111 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/1.039, allocations: 47.91 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/1.04, allocations: 336.7 kB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/1.041, allocations: 66.55 kB / 0.8115 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/1.041, allocations: 3.938 kB / 0.8115 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/1.041, allocations: 95.39 kB / 0.8116 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.908e-06/1.041, allocations: 0 / 0.8116 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.001008/1.042, allocations: 169.4 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/1.042, allocations: 55.41 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/1.043, allocations: 117 kB / 0.8119 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/1.043, allocations: 29.7 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.043, allocations: 92.52 kB / 0.8121 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/1.043, allocations: 19.7 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/1.043, allocations: 8 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.043, allocations: 314.8 kB / 0.8124 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/1.043, allocations: 27.98 kB / 0.8124 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/1.044, allocations: 73.56 kB / 0.8125 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/1.044, allocations: 35.98 kB / 0.8125 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.044, allocations: 0 / 0.8125 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006695/1.045, allocations: 133.4 kB / 0.8127 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/1.045, allocations: 9.391 kB / 0.8127 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.045, allocations: 0 / 0.8127 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.045, allocations: 4 kB / 0.8127 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/1.045, allocations: 20.11 kB / 0.8127 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/1.045, allocations: 8.266 kB / 0.8127 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/1.046, allocations: 19.84 kB / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/1.046, allocations: 11.98 kB / 0.8127 GB, free: 9.512 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.0002008/1.046, allocations: 116.4 kB / 0.8128 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/1.046, allocations: 11.84 kB / 0.8128 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008296/1.047, allocations: 157.9 kB / 0.813 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.047, allocations: 4 kB / 0.813 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.047, allocations: 0 / 0.813 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/1.047, allocations: 3.953 kB / 0.813 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/1.048, allocations: 430.4 kB / 0.8134 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.048, allocations: 0 / 0.8134 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/1.049, allocations: 8 kB / 0.8134 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/1.049, allocations: 3.938 kB / 0.8134 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/1.049, allocations: 11.94 kB / 0.8134 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.049, allocations: 4 kB / 0.8134 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.049, allocations: 0 / 0.8134 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/1.05, allocations: 223.4 kB / 0.8137 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/1.05, allocations: 85 kB / 0.8137 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/1.05, allocations: 8.094 kB / 0.8137 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/1.05, allocations: 15.94 kB / 0.8138 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.05, allocations: 15.91 kB / 0.8138 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/1.05, allocations: 8 kB / 0.8138 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001447/1.05, allocations: 99.52 kB / 0.8139 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.81e-07/1.05, allocations: 0 / 0.8139 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007871/1.051, allocations: 59.86 kB / 0.8139 GB, free: 8.168 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 (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.001875/1.053, allocations: 0.8305 MB / 0.8147 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006163/1.054, allocations: 91.77 kB / 0.8148 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.054, allocations: 4.25 kB / 0.8148 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/1.054, allocations: 47.97 kB / 0.8149 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/1.055, allocations: 19.84 kB / 0.8149 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/1.057, allocations: 1.228 MB / 0.8161 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/1.057, allocations: 0.6965 MB / 0.8168 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.774e-05/1.057, allocations: 8.438 kB / 0.8168 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/1.057, allocations: 31.42 kB / 0.8168 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/1.057, allocations: 3.938 kB / 0.8168 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/1.085, allocations: 2.886 MB / 0.8196 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/1.085, allocations: 246.8 kB / 0.8199 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.726, allocations: 4 kB / 0.8199 GB, free: 2.074 MB / 0.6355 GB