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 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.Love1998Light2,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.01098/0.01098, 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.001261/0.001261, 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.379/2.379, 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.413/2.413, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006937/0.0006937, allocations: 15.98 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7288, allocations: 98.7 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2524/0.9812, allocations: 126.7 MB / 0.8072 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004925/0.9818, allocations: 79.95 kB / 0.8073 GB, free: 15.34 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.02159/1.003, allocations: 3.131 MB / 0.8103 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/1.003, allocations: 0 / 0.8103 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.345e-06/1.003, allocations: 0 / 0.8103 GB, free: 12.2 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.001069/1.005, allocations: 470.4 kB / 0.8108 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.005, allocations: 8.031 kB / 0.8108 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.3e-05/1.005, allocations: 42.56 kB / 0.8108 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/1.005, allocations: 11.86 kB / 0.8108 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/1.005, allocations: 182.9 kB / 0.811 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/1.005, allocations: 0 / 0.811 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/1.005, allocations: 8 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/1.005, allocations: 77.58 kB / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.006, allocations: 0 / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/1.006, allocations: 4 kB / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/1.006, allocations: 0 / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/1.006, allocations: 55.84 kB / 0.8112 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/1.007, allocations: 328.7 kB / 0.8115 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/1.007, allocations: 66.55 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/1.008, allocations: 0 / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/1.008, allocations: 95.39 kB / 0.8116 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.517e-06/1.008, allocations: 0 / 0.8116 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0009469/1.009, allocations: 169.4 kB / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/1.009, allocations: 55.41 kB / 0.8118 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.009, allocations: 109 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/1.009, allocations: 33.7 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/1.009, allocations: 92.36 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/1.01, allocations: 19.86 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/1.01, allocations: 8 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.01, allocations: 322.8 kB / 0.8124 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/1.01, allocations: 23.98 kB / 0.8124 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/1.01, allocations: 77.56 kB / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/1.01, allocations: 35.98 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.01, allocations: 0 / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005649/1.011, allocations: 133.4 kB / 0.8127 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.011, allocations: 4 kB / 0.8127 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.011, allocations: 4.125 kB / 0.8127 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.011, allocations: 4 kB / 0.8127 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/1.011, allocations: 16.36 kB / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.011, allocations: 7.891 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/1.012, allocations: 23.83 kB / 0.8127 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/1.012, allocations: 8 kB / 0.8127 GB, free: 9.496 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.0001714/1.012, allocations: 125.8 kB / 0.8128 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/1.012, allocations: 11.91 kB / 0.8128 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/1.013, allocations: 153.9 kB / 0.813 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.013, allocations: 4 kB / 0.813 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.013, allocations: 0 / 0.813 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.013, allocations: 4.047 kB / 0.813 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.014, allocations: 430.4 kB / 0.8134 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.014, allocations: 4 kB / 0.8134 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/1.014, allocations: 11.98 kB / 0.8134 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.014, allocations: 0 / 0.8134 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/1.014, allocations: 7.953 kB / 0.8134 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.014, allocations: 0 / 0.8134 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.014, allocations: 8 kB / 0.8134 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/1.015, allocations: 223.4 kB / 0.8137 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/1.015, allocations: 81.02 kB / 0.8137 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/1.015, allocations: 8 kB / 0.8137 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/1.016, allocations: 19.88 kB / 0.8138 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/1.016, allocations: 11.98 kB / 0.8138 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/1.016, allocations: 7.984 kB / 0.8138 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001302/1.016, allocations: 95.27 kB / 0.8139 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/1.016, allocations: 3.938 kB / 0.8139 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008047/1.017, allocations: 51.94 kB / 0.8139 GB, free: 8.152 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.0016/1.018, allocations: 0.841 MB / 0.8147 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004812/1.019, allocations: 95.89 kB / 0.8148 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.019, allocations: 0 / 0.8148 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/1.019, allocations: 47.97 kB / 0.8149 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/1.02, allocations: 15.86 kB / 0.8149 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/1.022, allocations: 1.229 MB / 0.8161 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/1.022, allocations: 0.6965 MB / 0.8168 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000123/1.022, allocations: 16.42 kB / 0.8168 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.022, allocations: 31.36 kB / 0.8168 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/1.022, allocations: 0 / 0.8168 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04851/1.071, allocations: 2.886 MB / 0.8196 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/1.071, allocations: 233.1 kB / 0.8199 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.666, allocations: 4.062 kB / 0.8199 GB, free: 2.062 MB / 0.6355 GB