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 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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009204/0.009209, allocations: 106.9 kB / 15.06 MB, free: 5.562 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.001115/0.001115, allocations: 177.9 kB / 15.95 MB, free: 5.523 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.988/1.988, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.32/2.32, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004605, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6343, allocations: 98.7 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001511/0.6358, allocations: 1.196 MB / 0.6845 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.6371, allocations: 0.72 MB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.6372, allocations: 3.938 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.6372, allocations: 0.8438 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.6373, allocations: 16.3 kB / 0.6852 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.6378, allocations: 105.8 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.6379, allocations: 50.77 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.437e-05/0.638, allocations: 11.41 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.6381, allocations: 34.67 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.6382, allocations: 39.22 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.6382, allocations: 4.312 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.6384, allocations: 69.44 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.6384, allocations: 24.73 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.6385, allocations: 41.86 kB / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.6387, allocations: 110.8 kB / 0.6857 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.934e-06/0.6387, allocations: 0 / 0.6857 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.818e-06/0.6387, allocations: 0 / 0.6857 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.077e-06/0.6388, allocations: 3.938 kB / 0.6857 GB, free: 15.2 MB / 0.5261 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.0005068/0.6393, allocations: 440.5 kB / 0.6861 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.6393, allocations: 13 kB / 0.6861 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.6394, allocations: 13.08 kB / 0.6861 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.68e-05/0.6395, allocations: 172.4 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.6395, allocations: 9.344 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.6395, allocations: 5.406 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.6398, allocations: 91.47 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.704e-06/0.6398, allocations: 3.984 kB / 0.6864 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.6398, allocations: 1.578 kB / 0.6864 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-06/0.6399, allocations: 5.406 kB / 0.6864 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.6401, allocations: 50.66 kB / 0.6865 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.6406, allocations: 320 kB / 0.6868 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.6409, allocations: 76 kB / 0.6868 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.6409, allocations: 2.062 kB / 0.6868 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.6412, allocations: 89.94 kB / 0.6869 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.71e-06/0.6412, allocations: 0 / 0.6869 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.00063/0.6418, allocations: 203.8 kB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6419, allocations: 55.17 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.642, allocations: 127.6 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.642, allocations: 27.14 kB / 0.6873 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.6421, allocations: 100.4 kB / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.6421, allocations: 30.08 kB / 0.6875 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.6421, allocations: 3.938 kB / 0.6875 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.6422, allocations: 320.3 kB / 0.6878 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.6423, allocations: 31.56 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.6425, allocations: 79.2 kB / 0.6879 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.6426, allocations: 37.47 kB / 0.6879 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.812e-06/0.6426, allocations: 0 / 0.6879 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003723/0.643, allocations: 147.1 kB / 0.688 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.643, allocations: 6.047 kB / 0.688 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.338e-06/0.6431, allocations: 1.344 kB / 0.688 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.6431, allocations: 3.188 kB / 0.6881 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.6432, allocations: 19.11 kB / 0.6881 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.089e-06/0.6432, allocations: 3.203 kB / 0.6881 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.6433, allocations: 23.64 kB / 0.6881 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.6434, allocations: 5.312 kB / 0.6881 GB, free: 13.15 MB / 0.5261 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,occ.y,$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 9.113e-05/0.6435, allocations: 125.4 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.6435, allocations: 7.844 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.6435, allocations: 8.062 kB / 0.6882 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-06/0.6436, allocations: 1.344 kB / 0.6882 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.048e-06/0.6436, allocations: 8.609 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.295e-06/0.6436, allocations: 1.031 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.6442, allocations: 431.4 kB / 0.6887 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-06/0.6443, allocations: 0 / 0.6887 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.6443, allocations: 6.047 kB / 0.6887 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.856e-06/0.6444, allocations: 1.469 kB / 0.6887 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.6444, allocations: 13.08 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6444, allocations: 3.938 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-06/0.6444, allocations: 1.219 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.6449, allocations: 247.9 kB / 0.6889 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.6449, allocations: 96.33 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.6449, allocations: 10.5 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.6451, allocations: 14.12 kB / 0.689 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.6452, allocations: 5.859 kB / 0.689 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.6452, allocations: 9.141 kB / 0.689 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.6452, allocations: 94.42 kB / 0.6891 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.96e-07/0.6453, allocations: 0 / 0.6891 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004266/0.6457, allocations: 40.44 kB / 0.6892 GB, free: 12.26 MB / 0.5261 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,occ.y,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.0003787/0.6461, allocations: 177.8 kB / 0.6893 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.6465, allocations: 92.56 kB / 0.6894 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6465, allocations: 5.594 kB / 0.6894 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.6467, allocations: 50.62 kB / 0.6895 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.6469, allocations: 7.812 kB / 0.6895 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.6474, allocations: 221.7 kB / 0.6897 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.6476, allocations: 0.6945 MB / 0.6904 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.327e-05/0.6476, allocations: 6.641 kB / 0.6904 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.6477, allocations: 11.61 kB / 0.6904 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/0.6477, allocations: 0 / 0.6904 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.005387/0.6531, allocations: 1.557 MB / 0.6919 GB, free: 11.07 MB / 0.5261 GB