Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.01659/0.01659, allocations: 107.5 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.001905/0.001905, allocations: 184.6 kB / 15.95 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.252/2.252, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.356/2.356, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.00048, allocations: 12 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7038/0.7043, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2696/0.974, allocations: 126.5 MB / 0.807 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/0.9745, allocations: 83.95 kB / 0.807 GB, free: 15.69 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.01802/0.9926, allocations: 2.955 MB / 0.8099 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9926, allocations: 0 / 0.8099 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.9926, allocations: 0 / 0.8099 GB, free: 12.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008569/0.9935, allocations: 458.4 kB / 0.8104 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.9936, allocations: 8.031 kB / 0.8104 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.9936, allocations: 34.56 kB / 0.8104 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.9937, allocations: 11.86 kB / 0.8104 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.9939, allocations: 175 kB / 0.8106 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.994, allocations: 4 kB / 0.8106 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.994, allocations: 8 kB / 0.8106 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.9944, allocations: 65.66 kB / 0.8107 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.9944, allocations: 4 kB / 0.8107 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.9945, allocations: 3.938 kB / 0.8107 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9945, allocations: 0 / 0.8107 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.9948, allocations: 55.91 kB / 0.8107 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.9957, allocations: 308.7 kB / 0.811 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.996, allocations: 54.56 kB / 0.8111 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.996, allocations: 0 / 0.8111 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.9964, allocations: 83.44 kB / 0.8112 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.9964, allocations: 0 / 0.8112 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0008997/0.9973, allocations: 153.8 kB / 0.8113 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.9974, allocations: 59.47 kB / 0.8114 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.9976, allocations: 124.9 kB / 0.8115 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.9976, allocations: 33.64 kB / 0.8115 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.9978, allocations: 88.33 kB / 0.8116 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.9978, allocations: 19.73 kB / 0.8116 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.9978, allocations: 0 / 0.8116 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.998, allocations: 322.8 kB / 0.8119 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.9982, allocations: 23.98 kB / 0.8119 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.9985, allocations: 69.06 kB / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.9987, allocations: 31.98 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9987, allocations: 0 / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005417/0.9992, allocations: 121.5 kB / 0.8122 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.9993, allocations: 9.562 kB / 0.8122 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9993, allocations: 80 / 0.8122 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.9994, allocations: 4 kB / 0.8122 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.9995, allocations: 15.92 kB / 0.8122 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.9996, allocations: 11.94 kB / 0.8122 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.9997, allocations: 8 kB / 0.8122 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.9998, allocations: 4 kB / 0.8122 GB, free: 10.14 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: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000183/1, allocations: 121.9 kB / 0.8123 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/1, allocations: 7.953 kB / 0.8123 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/1, allocations: 16.34 kB / 0.8123 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1, allocations: 0 / 0.8123 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1, allocations: 0 / 0.8123 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1, allocations: 3.953 kB / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.001, allocations: 394.5 kB / 0.8127 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.001, allocations: 0 / 0.8127 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/1.001, allocations: 4 kB / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/1.001, allocations: 4 kB / 0.8127 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/1.001, allocations: 3.984 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.001, allocations: 3.953 kB / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.001, allocations: 0 / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/1.002, allocations: 227.3 kB / 0.813 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/1.002, allocations: 92.89 kB / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/1.002, allocations: 0 / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/1.002, allocations: 7.984 kB / 0.8131 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/1.003, allocations: 11.95 kB / 0.8131 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/1.003, allocations: 3.984 kB / 0.8131 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001132/1.003, allocations: 99.77 kB / 0.8132 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/1.003, allocations: 0 / 0.8132 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007522/1.003, allocations: 44 kB / 0.8132 GB, free: 9.012 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001597/1.005, allocations: 0.832 MB / 0.814 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004065/1.006, allocations: 80.16 kB / 0.8141 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.006, allocations: 0 / 0.8141 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/1.006, allocations: 36.22 kB / 0.8141 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/1.006, allocations: 15.94 kB / 0.8141 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/1.007, allocations: 1.199 MB / 0.8153 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/1.008, allocations: 0.6926 MB / 0.816 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.962e-05/1.008, allocations: 4.172 kB / 0.816 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/1.008, allocations: 27.44 kB / 0.816 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/1.008, allocations: 0 / 0.816 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/1.035, allocations: 2.606 MB / 0.8186 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003788/1.036, allocations: 257.7 kB / 0.8188 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.677, allocations: 4 kB / 0.8188 GB, free: 3.215 MB / 0.6355 GB