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.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.375/4.375, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.173e-05/4.197e-05, allocations: 4.422 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2358, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.52, allocations: 126.5 MB / 0.7582 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5204, allocations: 79.94 kB / 0.7583 GB, free: 3.195 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.01523/0.5356, allocations: 3.004 MB / 0.7612 GB, free: 192 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5357, allocations: 0 / 0.7612 GB, free: 192 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.5357, allocations: 0 / 0.7612 GB, free: 192 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.0008931/0.5366, allocations: 449.8 kB / 0.7617 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.5367, allocations: 8.031 kB / 0.7617 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/0.5368, allocations: 34.55 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.5369, allocations: 19.86 kB / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.5371, allocations: 167 kB / 0.7619 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.5371, allocations: 11.94 kB / 0.7619 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.5372, allocations: 7.984 kB / 0.7619 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.5375, allocations: 73.66 kB / 0.762 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5375, allocations: 0 / 0.762 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.5376, allocations: 4 kB / 0.762 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5376, allocations: 4 kB / 0.762 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.5378, allocations: 35.98 kB / 0.762 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.5388, allocations: 324.6 kB / 0.7623 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.5391, allocations: 58.56 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.5392, allocations: 36.86 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.5393, allocations: 12 kB / 0.7624 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.5396, allocations: 87.41 kB / 0.7625 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.206e-06/0.5396, allocations: 0 / 0.7625 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0006069/0.5402, allocations: 141.4 kB / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.5403, allocations: 55.41 kB / 0.7627 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5405, allocations: 121 kB / 0.7628 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.5405, allocations: 37.64 kB / 0.7628 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.5406, allocations: 84.38 kB / 0.7629 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.5407, allocations: 27.64 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.5407, allocations: 4 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5409, allocations: 322.8 kB / 0.7633 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.541, allocations: 16 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.5412, allocations: 70.02 kB / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.5414, allocations: 23.92 kB / 0.7634 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5414, allocations: 4 kB / 0.7634 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00042/0.5418, allocations: 125.5 kB / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5419, allocations: 10.66 kB / 0.7635 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5419, allocations: 0 / 0.7635 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.5419, allocations: 4 kB / 0.7635 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.5422, allocations: 23.88 kB / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.5422, allocations: 4 kB / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.5424, allocations: 8 kB / 0.7635 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.5424, allocations: 4 kB / 0.7635 GB, free: 13.56 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.0001579/0.5426, allocations: 121 kB / 0.7637 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.5427, allocations: 7.891 kB / 0.7637 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.5427, allocations: 12.62 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5427, allocations: 0 / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.5428, allocations: 3.953 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5428, allocations: 0 / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.5438, allocations: 422.3 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5438, allocations: 8 kB / 0.7641 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.5439, allocations: 11.98 kB / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5439, allocations: 0 / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.544, allocations: 3.953 kB / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.544, allocations: 0 / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.544, allocations: 4 kB / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.5446, allocations: 227.4 kB / 0.7643 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.5447, allocations: 85.02 kB / 0.7644 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.5447, allocations: 4 kB / 0.7644 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.545, allocations: 15.94 kB / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.5451, allocations: 7.984 kB / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.5451, allocations: 4 kB / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001153/0.5452, allocations: 103.2 kB / 0.7645 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5453, allocations: 0 / 0.7645 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007631/0.546, allocations: 44 kB / 0.7646 GB, free: 12.39 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.001555/0.5476, allocations: 0.8439 MB / 0.7654 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.548, allocations: 80.38 kB / 0.7655 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5481, allocations: 4.062 kB / 0.7655 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.5483, allocations: 51.86 kB / 0.7655 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.5487, allocations: 13.81 kB / 0.7656 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.5499, allocations: 170.9 kB / 0.7657 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/0.5529, allocations: 0.6926 MB / 0.7664 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.5531, allocations: 11.98 kB / 0.7664 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.5532, allocations: 27.42 kB / 0.7664 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/0.5532, allocations: 0 / 0.7664 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0666/0.6198, allocations: 2.818 MB / 0.7692 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.6201, allocations: 221.9 kB / 0.7694 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.275, allocations: 5.812 kB / 0.7694 GB, free: 7.469 MB / 0.6511 GB