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.Reinhart2003Light.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.Reinhart2003Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",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.01527/0.01527, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001822/0.001823, allocations: 186.3 kB / 15.95 MB, free: 5.898 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.253/2.253, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.546/2.546, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 16 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7604, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2356/0.996, allocations: 126.8 MB / 0.8073 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.9963, allocations: 83.95 kB / 0.8074 GB, free: 15.26 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.01598/1.012, allocations: 3.28 MB / 0.8106 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.536e-06/1.012, allocations: 0 / 0.8106 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.012, allocations: 3.938 kB / 0.8106 GB, free: 11.96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001024/1.013, allocations: 0.508 MB / 0.8111 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.014, allocations: 8.031 kB / 0.8111 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/1.014, allocations: 42.55 kB / 0.8111 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/1.014, allocations: 19.8 kB / 0.8111 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/1.014, allocations: 174.9 kB / 0.8113 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/1.014, allocations: 4 kB / 0.8113 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/1.014, allocations: 4 kB / 0.8113 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/1.014, allocations: 85.56 kB / 0.8114 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.014, allocations: 4 kB / 0.8114 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/1.014, allocations: 4 kB / 0.8114 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.014, allocations: 7.953 kB / 0.8114 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/1.015, allocations: 51.97 kB / 0.8115 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/1.015, allocations: 336.7 kB / 0.8118 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/1.016, allocations: 90.69 kB / 0.8119 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/1.016, allocations: 0 / 0.8119 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/1.016, allocations: 107.2 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.175e-06/1.016, allocations: 0 / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0007868/1.017, allocations: 185.5 kB / 0.8122 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/1.017, allocations: 55.34 kB / 0.8122 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.017, allocations: 135.5 kB / 0.8123 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/1.017, allocations: 25.7 kB / 0.8124 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/1.017, allocations: 100.1 kB / 0.8125 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/1.017, allocations: 19.88 kB / 0.8125 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/1.017, allocations: 0 / 0.8125 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.017, allocations: 322.8 kB / 0.8128 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/1.018, allocations: 31.98 kB / 0.8128 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/1.018, allocations: 69.12 kB / 0.8129 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/1.018, allocations: 47.92 kB / 0.8129 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.018, allocations: 0 / 0.8129 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000408/1.018, allocations: 137.3 kB / 0.8131 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.018, allocations: 7.953 kB / 0.8131 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.018, allocations: 4 kB / 0.8131 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.018, allocations: 144 / 0.8131 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/1.019, allocations: 28.08 kB / 0.8131 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.019, allocations: 0 / 0.8131 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/1.019, allocations: 19.91 kB / 0.8131 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/1.019, allocations: 11.94 kB / 0.8131 GB, free: 9.102 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,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001331/1.019, allocations: 121.8 kB / 0.8132 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/1.019, allocations: 7.906 kB / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005602/1.02, allocations: 190.2 kB / 0.8134 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.02, allocations: 0 / 0.8134 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.02, allocations: 0 / 0.8134 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.02, allocations: 0 / 0.8134 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009769/1.021, allocations: 470.3 kB / 0.8139 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.021, allocations: 0 / 0.8139 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/1.021, allocations: 23.92 kB / 0.8139 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/1.021, allocations: 0 / 0.8139 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/1.021, allocations: 0 / 0.8139 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.021, allocations: 4 kB / 0.8139 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.021, allocations: 0 / 0.8139 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/1.021, allocations: 243.4 kB / 0.8141 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/1.021, allocations: 104.7 kB / 0.8142 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/1.022, allocations: 4 kB / 0.8142 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.022, allocations: 11.98 kB / 0.8142 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/1.022, allocations: 11.98 kB / 0.8143 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/1.022, allocations: 8 kB / 0.8143 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001014/1.022, allocations: 113.7 kB / 0.8144 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.022, allocations: 3.938 kB / 0.8144 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004675/1.022, allocations: 48 kB / 0.8144 GB, free: 7.664 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.001181/1.024, allocations: 0.8649 MB / 0.8153 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003955/1.024, allocations: 96.02 kB / 0.8154 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.024, allocations: 0 / 0.8154 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.024, allocations: 64.3 kB / 0.8154 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/1.025, allocations: 16.08 kB / 0.8154 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.026, allocations: 1.268 MB / 0.8167 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.026, allocations: 0.7082 MB / 0.8174 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.547e-05/1.027, allocations: 8.562 kB / 0.8174 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/1.027, allocations: 35.42 kB / 0.8174 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/1.027, allocations: 0 / 0.8174 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/1.051, allocations: 3.248 MB / 0.8206 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003469/1.051, allocations: 240.5 kB / 0.8208 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.749, allocations: 0 / 0.8208 GB, free: 1.133 MB / 0.6355 GB