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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.352/4.352, allocations: 432.6 MB / 445.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.236e-05, allocations: 3.938 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 98.73 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2896/0.5519, allocations: 126.5 MB / 0.7582 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/0.5523, allocations: 79.94 kB / 0.7583 GB, free: 3.137 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.01613/0.5685, allocations: 2.996 MB / 0.7612 GB, free: 140 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5685, allocations: 0 / 0.7612 GB, free: 140 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.5686, allocations: 4 kB / 0.7612 GB, free: 136 kB / 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.0009431/0.5695, allocations: 441.7 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.505e-05/0.5696, allocations: 12.03 kB / 0.7617 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.26e-05/0.5697, allocations: 42.55 kB / 0.7617 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.5698, allocations: 11.86 kB / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.57, allocations: 167 kB / 0.7619 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.57, allocations: 8 kB / 0.7619 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.5701, allocations: 7.938 kB / 0.7619 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.5705, allocations: 81.64 kB / 0.762 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5705, allocations: 0 / 0.762 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5705, allocations: 0 / 0.762 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5705, allocations: 8 kB / 0.762 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.5707, allocations: 31.98 kB / 0.762 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.5718, allocations: 336.6 kB / 0.7623 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.5721, allocations: 62.55 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.5722, allocations: 32.86 kB / 0.7624 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.5723, allocations: 0 / 0.7624 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.5726, allocations: 95.41 kB / 0.7625 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.086e-06/0.5726, allocations: 0 / 0.7625 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0006116/0.5732, allocations: 137.5 kB / 0.7626 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.5733, allocations: 59.34 kB / 0.7627 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.5735, allocations: 117 kB / 0.7628 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.5736, allocations: 33.64 kB / 0.7628 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.5737, allocations: 88.38 kB / 0.7629 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.5738, allocations: 31.64 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.5738, allocations: 4 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.574, allocations: 314.8 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.5741, allocations: 23.98 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.5743, allocations: 62.02 kB / 0.7633 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5744, allocations: 31.98 kB / 0.7634 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.5745, allocations: 0 / 0.7634 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004269/0.5749, allocations: 117.4 kB / 0.7635 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5749, allocations: 7.984 kB / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.575, allocations: 8.156 kB / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.575, allocations: 0 / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5753, allocations: 19.95 kB / 0.7635 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.5753, allocations: 7.922 kB / 0.7635 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.5755, allocations: 12 kB / 0.7635 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.5755, allocations: 4 kB / 0.7635 GB, free: 13.5 MB / 0.6511 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.0001762/0.5757, allocations: 117 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.5758, allocations: 11.91 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.5759, allocations: 12.61 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5759, allocations: 4 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5759, allocations: 3.953 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5759, allocations: 96 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.577, allocations: 422.4 kB / 0.7641 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5771, allocations: 3.938 kB / 0.7641 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.5772, allocations: 4 kB / 0.7641 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.5772, allocations: 4 kB / 0.7641 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.5773, allocations: 11.94 kB / 0.7641 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5773, allocations: 0 / 0.7641 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5773, allocations: 0 / 0.7641 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.578, allocations: 231.4 kB / 0.7643 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.5781, allocations: 81.02 kB / 0.7644 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.5782, allocations: 4 kB / 0.7644 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.5785, allocations: 15.94 kB / 0.7644 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.5786, allocations: 8 kB / 0.7644 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.5787, allocations: 3.984 kB / 0.7644 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001159/0.5788, allocations: 95.22 kB / 0.7645 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/0.5788, allocations: 0 / 0.7645 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008271/0.5797, allocations: 55.98 kB / 0.7646 GB, free: 12.34 MB / 0.6511 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.001821/0.5815, allocations: 0.8481 MB / 0.7654 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.582, allocations: 83.8 kB / 0.7655 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5821, allocations: 0 / 0.7655 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.5823, allocations: 39.94 kB / 0.7655 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.5828, allocations: 24.25 kB / 0.7656 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.584, allocations: 166.9 kB / 0.7657 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.5845, allocations: 0.6965 MB / 0.7664 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.646e-05/0.5846, allocations: 4.188 kB / 0.7664 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.5847, allocations: 23.42 kB / 0.7664 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of SimCode: time 2.014e-06/0.5847, allocations: 4 kB / 0.7664 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07128/0.656, allocations: 2.829 MB / 0.7692 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004302/0.6565, allocations: 231.3 kB / 0.7694 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.278, allocations: 3.938 kB / 0.7694 GB, free: 7.402 MB / 0.6511 GB