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.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.533/4.533, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.19e-05, allocations: 2.125 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2097, allocations: 98.73 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2391/0.4489, allocations: 125.8 MB / 0.7517 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/0.4493, allocations: 83.94 kB / 0.7518 GB, free: 11.08 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.02418/0.4735, allocations: 2.982 MB / 0.7547 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4735, allocations: 4 kB / 0.7547 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.4736, allocations: 4 kB / 0.7547 GB, free: 8.078 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.0008382/0.4744, allocations: 449.6 kB / 0.7552 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 0.006131/0.4806, allocations: 12.03 kB / 0.7552 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4807, allocations: 11.86 kB / 0.7552 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.4809, allocations: 174.9 kB / 0.7554 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.481, allocations: 4 kB / 0.7554 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.4811, allocations: 4 kB / 0.7554 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001965/0.4813, allocations: 35.98 kB / 0.7554 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.4816, allocations: 77.59 kB / 0.7555 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4816, allocations: 0 / 0.7555 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.4816, allocations: 0 / 0.7555 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4817, allocations: 3.953 kB / 0.7555 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.4827, allocations: 301.2 kB / 0.7558 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.4829, allocations: 54.56 kB / 0.7558 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.483, allocations: 37.47 kB / 0.7559 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4831, allocations: 0 / 0.7559 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.4834, allocations: 83.41 kB / 0.7559 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 6.181e-06/0.4834, allocations: 3.984 kB / 0.7559 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.000624/0.484, allocations: 133.5 kB / 0.7561 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.4841, allocations: 63.41 kB / 0.7561 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.4843, allocations: 117 kB / 0.7562 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.4843, allocations: 25.7 kB / 0.7563 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.4844, allocations: 92.31 kB / 0.7564 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.4845, allocations: 23.84 kB / 0.7564 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.4845, allocations: 7.938 kB / 0.7564 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4847, allocations: 314.8 kB / 0.7567 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.4848, allocations: 27.92 kB / 0.7567 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.485, allocations: 62.02 kB / 0.7568 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.4851, allocations: 23.98 kB / 0.7568 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4851, allocations: 0 / 0.7568 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000368/0.4855, allocations: 109.5 kB / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4855, allocations: 8 kB / 0.7569 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4856, allocations: 0 / 0.7569 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4856, allocations: 4 kB / 0.7569 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.4858, allocations: 19.92 kB / 0.7569 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4858, allocations: 3.953 kB / 0.7569 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.486, allocations: 12.14 kB / 0.7569 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.4861, allocations: 12 kB / 0.757 GB, free: 5.574 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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.0001393/0.4862, allocations: 106.5 kB / 0.7571 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006534/0.4928, allocations: 137.5 kB / 0.7572 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.4928, allocations: 7.906 kB / 0.7572 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.4929, allocations: 12.61 kB / 0.7572 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.4929, allocations: 3.953 kB / 0.7572 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.493, allocations: 4 kB / 0.7572 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.493, allocations: 0 / 0.7572 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000914/0.4939, allocations: 379 kB / 0.7576 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.494, allocations: 7.984 kB / 0.7576 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4941, allocations: 7.938 kB / 0.7576 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.4941, allocations: 0 / 0.7576 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.4942, allocations: 7.938 kB / 0.7576 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4942, allocations: 0 / 0.7576 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4942, allocations: 0 / 0.7576 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.4969, allocations: 233 kB / 0.7578 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.497, allocations: 88.95 kB / 0.7579 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.4971, allocations: 3.984 kB / 0.7579 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.4973, allocations: 7.953 kB / 0.7579 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.4974, allocations: 7.984 kB / 0.7579 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.4975, allocations: 4 kB / 0.7579 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.72e-05/0.4976, allocations: 99.2 kB / 0.758 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.11e-07/0.4976, allocations: 0 / 0.758 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007062/0.4983, allocations: 48 kB / 0.7581 GB, free: 4.34 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001418/0.4997, allocations: 0.847 MB / 0.7589 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.5001, allocations: 71.86 kB / 0.759 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5001, allocations: 0 / 0.759 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5002, allocations: 36 kB / 0.759 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.5006, allocations: 17.62 kB / 0.759 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.5015, allocations: 176.3 kB / 0.7592 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.5019, allocations: 0.6966 MB / 0.7599 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.668e-05/0.502, allocations: 7.984 kB / 0.7599 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.5021, allocations: 19.44 kB / 0.7599 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of SimCode: time 9.11e-07/0.5021, allocations: 288 / 0.7599 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.6038, allocations: 2.503 MB / 0.7623 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/0.6042, allocations: 205.5 kB / 0.7625 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.165, allocations: 0 / 0.7625 GB, free: 15.65 MB / 0.6511 GB