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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.403/4.403, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.093e-05, allocations: 2.625 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2494, allocations: 98.74 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3037/0.5531, allocations: 125.8 MB / 0.7517 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004639/0.5537, allocations: 83.94 kB / 0.7518 GB, free: 11.18 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01965/0.5733, allocations: 2.923 MB / 0.7546 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5734, allocations: 0 / 0.7546 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5734, allocations: 4 kB / 0.7546 GB, free: 8.238 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.0006188/0.574, allocations: 445.6 kB / 0.7551 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5741, allocations: 12.03 kB / 0.7551 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.5742, allocations: 11.94 kB / 0.7551 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.5743, allocations: 178.9 kB / 0.7553 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.5744, allocations: 0 / 0.7553 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.5744, allocations: 4 kB / 0.7553 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/0.5745, allocations: 24 kB / 0.7553 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.5747, allocations: 61.66 kB / 0.7553 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5747, allocations: 0 / 0.7553 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5747, allocations: 0 / 0.7553 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5748, allocations: 3.953 kB / 0.7553 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.5754, allocations: 273.4 kB / 0.7556 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.5755, allocations: 46.5 kB / 0.7556 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.5756, allocations: 25.59 kB / 0.7557 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.5756, allocations: 4 kB / 0.7557 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.5758, allocations: 71.45 kB / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.5758, allocations: 0 / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003427/0.5762, allocations: 105.5 kB / 0.7558 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.5762, allocations: 55.34 kB / 0.7559 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.5763, allocations: 116.9 kB / 0.756 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5764, allocations: 25.7 kB / 0.756 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.5764, allocations: 88.33 kB / 0.7561 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.5765, allocations: 15.8 kB / 0.7561 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.5765, allocations: 3.938 kB / 0.7561 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5767, allocations: 322.8 kB / 0.7564 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.5767, allocations: 12 kB / 0.7565 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.5768, allocations: 53.14 kB / 0.7565 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.5769, allocations: 16 kB / 0.7565 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5769, allocations: 7.984 kB / 0.7565 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002125/0.5771, allocations: 85.47 kB / 0.7566 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5772, allocations: 8 kB / 0.7566 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5772, allocations: 0 / 0.7566 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5772, allocations: 4 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5774, allocations: 11.98 kB / 0.7566 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5774, allocations: 12.05 kB / 0.7566 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.5775, allocations: 15.92 kB / 0.7567 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.5775, allocations: 4 kB / 0.7567 GB, free: 5.922 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 () * 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.0001026/0.5776, allocations: 109.7 kB / 0.7568 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002519/0.5779, allocations: 101.5 kB / 0.7569 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5779, allocations: 7.906 kB / 0.7569 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.578, allocations: 12.61 kB / 0.7569 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.578, allocations: 7.953 kB / 0.7569 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.578, allocations: 4 kB / 0.7569 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.578, allocations: 3.938 kB / 0.7569 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.5786, allocations: 340.8 kB / 0.7572 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5786, allocations: 0 / 0.7572 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.5787, allocations: 7.984 kB / 0.7572 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5787, allocations: 0 / 0.7572 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5788, allocations: 3.953 kB / 0.7572 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5788, allocations: 0 / 0.7572 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5788, allocations: 0 / 0.7572 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.5791, allocations: 215.6 kB / 0.7574 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.5792, allocations: 81.02 kB / 0.7575 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.5792, allocations: 3.984 kB / 0.7575 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5794, allocations: 15.89 kB / 0.7575 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.5794, allocations: 3.984 kB / 0.7575 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5795, allocations: 4 kB / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.5795, allocations: 99.77 kB / 0.7576 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.5795, allocations: 4 kB / 0.7576 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004505/0.58, allocations: 40 kB / 0.7577 GB, free: 4.785 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 () * 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.000962/0.581, allocations: 0.8074 MB / 0.7585 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.5812, allocations: 47.92 kB / 0.7585 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5812, allocations: 0 / 0.7585 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/0.5813, allocations: 27.98 kB / 0.7585 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5816, allocations: 15.94 kB / 0.7586 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.5823, allocations: 146.4 kB / 0.7587 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5826, allocations: 0.6962 MB / 0.7594 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.059e-05/0.5827, allocations: 4.188 kB / 0.7594 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.5828, allocations: 23.42 kB / 0.7594 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.5828, allocations: 0 / 0.7594 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.6273, allocations: 2.263 MB / 0.7616 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004075/0.6278, allocations: 205.5 kB / 0.7618 GB, free: 412 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.342, allocations: 4 kB / 0.7618 GB, free: 408 kB / 0.6355 GB