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.Haldi2008BlindsTIn.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01523/0.01523, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.00179/0.00179, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 1.933/1.933, allocations: 194.5 MB / 211.2 MB, free: 11.06 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.298/2.298, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004616, allocations: 8 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5446, allocations: 98.71 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.7281, allocations: 126.4 MB / 0.8068 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.7284, allocations: 83.95 kB / 0.8069 GB, free: 15.8 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.01208/0.7405, allocations: 2.85 MB / 0.8096 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.421e-06/0.7405, allocations: 0 / 0.8096 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.7406, allocations: 0 / 0.8096 GB, free: 12.95 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.0006024/0.7412, allocations: 446.5 kB / 0.8101 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.7412, allocations: 8.031 kB / 0.8101 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.7413, allocations: 15.86 kB / 0.8101 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.7415, allocations: 178.9 kB / 0.8103 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.7415, allocations: 8 kB / 0.8103 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.7415, allocations: 4 kB / 0.8103 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.7418, allocations: 73.59 kB / 0.8103 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7418, allocations: 4 kB / 0.8103 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.7418, allocations: 0 / 0.8103 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-06/0.7418, allocations: 0 / 0.8103 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.742, allocations: 43.97 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.7426, allocations: 304.8 kB / 0.8107 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.7428, allocations: 48.92 kB / 0.8107 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.7429, allocations: 0 / 0.8107 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.7431, allocations: 87.56 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.419e-06/0.7431, allocations: 0 / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005238/0.7436, allocations: 149.4 kB / 0.811 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.7437, allocations: 55.41 kB / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.7438, allocations: 112.9 kB / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.7439, allocations: 33.7 kB / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.744, allocations: 92.31 kB / 0.8112 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.744, allocations: 19.75 kB / 0.8113 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-06/0.744, allocations: 0 / 0.8113 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7442, allocations: 322.8 kB / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.7443, allocations: 23.98 kB / 0.8116 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.7444, allocations: 65.14 kB / 0.8116 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.7446, allocations: 35.92 kB / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7446, allocations: 0 / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000326/0.7449, allocations: 121.4 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.745, allocations: 4 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.745, allocations: 4 kB / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.745, allocations: 0 / 0.8118 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.7451, allocations: 15.98 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.7451, allocations: 8.109 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.7452, allocations: 11.91 kB / 0.8118 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.7453, allocations: 4 kB / 0.8118 GB, free: 10.45 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.pDown,bli.pDown,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 (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.0001267/0.7454, allocations: 127 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.7454, allocations: 4 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.7455, allocations: 4.375 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-06/0.7455, allocations: 0 / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.606e-06/0.7455, allocations: 8 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.01e-06/0.7455, allocations: 7.984 kB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006786/0.7462, allocations: 386.7 kB / 0.8124 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-06/0.7462, allocations: 0 / 0.8124 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.7463, allocations: 7.984 kB / 0.8124 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.542e-06/0.7463, allocations: 0 / 0.8124 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.7464, allocations: 4 kB / 0.8124 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.498e-06/0.7464, allocations: 7.953 kB / 0.8124 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-06/0.7464, allocations: 3.938 kB / 0.8124 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.7468, allocations: 211.5 kB / 0.8126 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.7469, allocations: 88.95 kB / 0.8127 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.7469, allocations: 8 kB / 0.8127 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.747, allocations: 7.984 kB / 0.8127 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.7471, allocations: 15.89 kB / 0.8127 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.7471, allocations: 0 / 0.8127 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.622e-05/0.7472, allocations: 91.27 kB / 0.8128 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.072e-06/0.7472, allocations: 0 / 0.8128 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004463/0.7477, allocations: 55.92 kB / 0.8128 GB, free: 9.32 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.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0004296/0.7481, allocations: 163.9 kB / 0.813 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.7485, allocations: 71.89 kB / 0.8131 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.7485, allocations: 4.312 kB / 0.8131 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.7486, allocations: 35.98 kB / 0.8131 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.7489, allocations: 18.34 kB / 0.8131 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.7494, allocations: 220.5 kB / 0.8133 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.7498, allocations: 0.6926 MB / 0.814 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.7498, allocations: 4.188 kB / 0.814 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.7498, allocations: 11.44 kB / 0.814 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of SimCode: time 1.387e-06/0.7499, allocations: 0 / 0.814 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of Templates: time 0.005288/0.7552, allocations: 1.514 MB / 0.8155 GB, free: 6.555 MB / 0.6355 GB