Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.322/2.322, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002359/0.002359, allocations: 179.6 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.56/2.56, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 96.23 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006627, allocations: 14.67 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.236, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001801/0.2378, allocations: 1.199 MB / 0.9 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2392, allocations: 0.7151 MB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.2393, allocations: 0 / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.2393, allocations: 3.938 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.2394, allocations: 23.91 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.24, allocations: 91.64 kB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.2401, allocations: 39.94 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.2402, allocations: 15.98 kB / 0.9009 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.2403, allocations: 23.92 kB / 0.9009 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.2404, allocations: 27.84 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2404, allocations: 11.98 kB / 0.901 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.2406, allocations: 63.95 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.2406, allocations: 7.922 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.2407, allocations: 41.69 kB / 0.9011 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.2409, allocations: 99.77 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2409, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2409, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2409, allocations: 0 / 0.9012 GB, free: 63.55 MB / 0.6042 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.0005657/0.2415, allocations: 439.9 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2416, allocations: 8.031 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.2416, allocations: 11.86 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.2417, allocations: 171 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.2418, allocations: 0 / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.2418, allocations: 8 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.242, allocations: 69.64 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2421, allocations: 0 / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2421, allocations: 8 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2421, allocations: 0 / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.2423, allocations: 47.91 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.2429, allocations: 300.7 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.2431, allocations: 54.55 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2431, allocations: 3.984 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.2434, allocations: 75.5 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.2434, allocations: 0 / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006203/0.244, allocations: 165.5 kB / 0.9025 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2441, allocations: 51.41 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.2442, allocations: 121.8 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2442, allocations: 33.64 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.2443, allocations: 92.33 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.2443, allocations: 11.81 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.2443, allocations: 4 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.2444, allocations: 318.8 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.2445, allocations: 23.98 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.2447, allocations: 69.56 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.2448, allocations: 27.94 kB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2448, allocations: 0 / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003349/0.2452, allocations: 125.4 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2452, allocations: 8 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2452, allocations: 3.984 kB / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2453, allocations: 7.953 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2454, allocations: 8 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2454, allocations: 4 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2455, allocations: 19.98 kB / 0.9034 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2456, allocations: 4 kB / 0.9034 GB, free: 61.06 MB / 0.6042 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,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 (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 9.593e-05/0.2457, allocations: 127.8 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2457, allocations: 0 / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.2457, allocations: 12.38 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.2458, allocations: 0 / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2458, allocations: 7.938 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2458, allocations: 0 / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.2464, allocations: 390.4 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2464, allocations: 0 / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.2465, allocations: 8 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2465, allocations: 0 / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2465, allocations: 7.938 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2465, allocations: 0 / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2465, allocations: 4 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.2469, allocations: 207.5 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.247, allocations: 84.95 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.247, allocations: 11.98 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2472, allocations: 11.95 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2472, allocations: 3.984 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2473, allocations: 4 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.2473, allocations: 95.42 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.593e-06/0.2473, allocations: 0 / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004439/0.2478, allocations: 39.94 kB / 0.9043 GB, free: 59.96 MB / 0.6042 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,occ.y,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.0003822/0.2482, allocations: 161.8 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.2485, allocations: 71.89 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2486, allocations: 0 / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2487, allocations: 44.28 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.249, allocations: 15.92 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.2495, allocations: 214.3 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2496, allocations: 0.6965 MB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.2497, allocations: 4.188 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.2497, allocations: 11.44 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2498, allocations: 0 / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.004957/0.2547, allocations: 1.324 MB / 0.9068 GB, free: 57.39 MB / 0.6042 GB