Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007669/0.0007669, allocations: 92.23 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004604/0.004604, allocations: 169.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.7 MB / 0.5502 GB, free: 14.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007981/0.000798, allocations: 16.88 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2742, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001711/0.276, allocations: 1.211 MB / 0.7891 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2775, allocations: 0.7529 MB / 0.7898 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.2776, allocations: 0 / 0.7898 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.2776, allocations: 7.922 kB / 0.7898 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.2777, allocations: 7.938 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.2784, allocations: 107.7 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.2786, allocations: 63.78 kB / 0.79 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2787, allocations: 4 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2788, allocations: 39.84 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.2789, allocations: 23.91 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.279, allocations: 4 kB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.2793, allocations: 91.84 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.2793, allocations: 15.92 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.2794, allocations: 57.55 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.2797, allocations: 131.9 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2797, allocations: 0 / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2797, allocations: 0 / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2797, allocations: 0 / 0.7903 GB, free: 9.074 MB / 0.6075 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.0007103/0.2805, allocations: 434.7 kB / 0.7907 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2805, allocations: 8.031 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.2806, allocations: 12.84 kB / 0.7908 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2808, allocations: 184.1 kB / 0.7909 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.2808, allocations: 4.375 kB / 0.7909 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.2808, allocations: 4.375 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.2811, allocations: 73.97 kB / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2811, allocations: 0 / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2811, allocations: 0 / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2811, allocations: 0 / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.2813, allocations: 47.97 kB / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.2818, allocations: 300.7 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.282, allocations: 54.56 kB / 0.7914 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.2821, allocations: 36.97 kB / 0.7914 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.2821, allocations: 0 / 0.7914 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.2823, allocations: 75.38 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2823, allocations: 0 / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004229/0.2828, allocations: 153.5 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2828, allocations: 55.39 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.2829, allocations: 117.8 kB / 0.7918 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.283, allocations: 25.7 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.283, allocations: 104.1 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2831, allocations: 15.88 kB / 0.792 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.2831, allocations: 17.72 kB / 0.792 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2832, allocations: 322.8 kB / 0.7923 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.2833, allocations: 23.98 kB / 0.7923 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.2834, allocations: 69.52 kB / 0.7924 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.2836, allocations: 101 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2836, allocations: 3.938 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002341/0.2838, allocations: 121.4 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2839, allocations: 8.156 kB / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2839, allocations: 4.312 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2839, allocations: 4 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.284, allocations: 11.98 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.284, allocations: 4 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.2841, allocations: 11.91 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.2841, allocations: 15.95 kB / 0.7926 GB, free: 6.426 MB / 0.6075 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2842, allocations: 133 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.2842, allocations: 8 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.2843, allocations: 12.38 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2843, allocations: 0 / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2843, allocations: 0 / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2843, allocations: 0 / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.2847, allocations: 386.3 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2848, allocations: 4 kB / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.2848, allocations: 7.984 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2848, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2848, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2848, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2848, allocations: 3.938 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.2851, allocations: 223.4 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.2852, allocations: 81.11 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.2852, allocations: 0 / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.2853, allocations: 11.92 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.2854, allocations: 7.938 kB / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2854, allocations: 7.984 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.2855, allocations: 87.28 kB / 0.7936 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2855, allocations: 0 / 0.7936 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000315/0.2858, allocations: 47.98 kB / 0.7936 GB, free: 5.328 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003183/0.2861, allocations: 150.9 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.2864, allocations: 79.95 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2864, allocations: 0 / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2865, allocations: 39.98 kB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2868, allocations: 11.88 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.2872, allocations: 219.3 kB / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.2874, allocations: 0.6926 MB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.2874, allocations: 8.078 kB / 0.7948 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.2875, allocations: 11.44 kB / 0.7948 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2875, allocations: 0 / 0.7948 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.003878/0.2913, allocations: 1.355 MB / 0.7961 GB, free: 2.734 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) Environment - environmentSimulation: