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 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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.01605/0.01605, allocations: 107.8 kB / 15.05 MB, free: 6.055 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.001962/0.001961, allocations: 185.9 kB / 15.95 MB, free: 5.98 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.126/2.126, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.451/2.451, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006961/0.000696, allocations: 20 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8553, allocations: 98.7 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/1.097, allocations: 126.6 MB / 0.807 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.098, allocations: 83.89 kB / 0.8071 GB, free: 15.54 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.01798/1.116, allocations: 3.021 MB / 0.81 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.03e-05/1.116, allocations: 0 / 0.81 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.308e-05/1.116, allocations: 7.938 kB / 0.8101 GB, free: 12.51 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.0009621/1.117, allocations: 470.3 kB / 0.8105 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.117, allocations: 8.031 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.914e-05/1.117, allocations: 38.56 kB / 0.8105 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/1.117, allocations: 11.86 kB / 0.8106 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/1.117, allocations: 171.1 kB / 0.8107 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/1.117, allocations: 4 kB / 0.8107 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/1.117, allocations: 8 kB / 0.8107 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/1.118, allocations: 97.55 kB / 0.8108 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.118, allocations: 0 / 0.8108 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/1.118, allocations: 4 kB / 0.8108 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.118, allocations: 0 / 0.8108 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/1.118, allocations: 47.97 kB / 0.8109 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/1.119, allocations: 328.7 kB / 0.8112 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/1.12, allocations: 70.58 kB / 0.8113 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/1.12, allocations: 4 kB / 0.8113 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/1.12, allocations: 95.36 kB / 0.8113 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.476e-06/1.12, allocations: 0 / 0.8113 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.001048/1.121, allocations: 201.6 kB / 0.8115 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/1.121, allocations: 63.41 kB / 0.8116 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/1.121, allocations: 117 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/1.121, allocations: 25.7 kB / 0.8117 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/1.122, allocations: 96.31 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/1.122, allocations: 31.78 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/1.122, allocations: 3.938 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.122, allocations: 318.8 kB / 0.8122 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.122, allocations: 35.98 kB / 0.8122 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/1.122, allocations: 71.53 kB / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/1.122, allocations: 40 kB / 0.8123 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/1.123, allocations: 0 / 0.8123 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005768/1.123, allocations: 141.4 kB / 0.8124 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.123, allocations: 5.719 kB / 0.8124 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.123, allocations: 8 kB / 0.8125 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/1.123, allocations: 0 / 0.8125 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/1.123, allocations: 23.98 kB / 0.8125 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.123, allocations: 3.953 kB / 0.8125 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/1.124, allocations: 11.94 kB / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/1.124, allocations: 7.984 kB / 0.8125 GB, free: 9.738 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 () * Number of clocked 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.000182/1.124, allocations: 132.8 kB / 0.8126 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/1.124, allocations: 7.906 kB / 0.8126 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/1.124, allocations: 8.375 kB / 0.8126 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.124, allocations: 0 / 0.8126 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.124, allocations: 0 / 0.8126 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.124, allocations: 7.938 kB / 0.8126 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/1.125, allocations: 434.3 kB / 0.8131 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.125, allocations: 8 kB / 0.8131 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/1.125, allocations: 4 kB / 0.8131 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.125, allocations: 0 / 0.8131 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/1.125, allocations: 7.984 kB / 0.8131 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/1.125, allocations: 7.891 kB / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.125, allocations: 4 kB / 0.8131 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/1.126, allocations: 251.6 kB / 0.8133 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/1.126, allocations: 89.08 kB / 0.8134 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/1.126, allocations: 0 / 0.8134 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/1.127, allocations: 8 kB / 0.8134 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/1.127, allocations: 11.94 kB / 0.8134 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/1.127, allocations: 7.984 kB / 0.8134 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001023/1.127, allocations: 91.27 kB / 0.8135 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.11e-07/1.127, allocations: 8 kB / 0.8135 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007323/1.128, allocations: 59.84 kB / 0.8136 GB, free: 8.508 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) * Number of clocked states: 0 () * 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.00168/1.129, allocations: 0.8501 MB / 0.8144 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005806/1.13, allocations: 99.83 kB / 0.8145 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.13, allocations: 4.312 kB / 0.8145 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/1.13, allocations: 47.97 kB / 0.8146 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/1.131, allocations: 20.39 kB / 0.8146 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/1.133, allocations: 1.375 MB / 0.8159 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.133, allocations: 0.702 MB / 0.8166 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.02e-05/1.133, allocations: 11.95 kB / 0.8166 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/1.133, allocations: 23.42 kB / 0.8167 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/1.133, allocations: 0 / 0.8167 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09054/1.224, allocations: 2.825 MB / 0.8194 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003649/1.224, allocations: 247.9 kB / 0.8196 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/4.086, allocations: 4.062 kB / 0.8197 GB, free: 2.246 MB / 0.6355 GB